1 | scope parse3_noEllipsis_cachedInput. |
2 | |
3 | static Map<S, LS> #cache = synchronizedMRUCache(100); |
4 | |
5 | static synchronized L<S> parse3_noEllipsis_cachedInput(S s) { |
6 | LS tok = cache.get(s); |
7 | if (tok == null) cache.put(s, tok = parse3_noEllipsis(s)); |
8 | ret tok; |
9 | } |
10 | |
11 | end scope |
Began life as a copy of #1017785
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021304 |
Snippet name: | parse3_noEllipsis_cachedInput |
Eternal ID of this version: | #1021304/1 |
Text MD5: | 9036e09abd9e92d9e87d76143ff63dd7 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-08 13:34:46 |
Source code size: | 274 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 273 / 305 |
Referenced in: | [show references] |