scope wordTok2. static Map<S, LS> #cache = synchronizedMRUCache(100); static LS wordTok2(S s) { LS tok = cache.get(s); if (tok == null) cache.put(s, tok = wordTok2_uncached(s)); ret tok; } end scope
Began life as a copy of #1021365
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1023690 |
| Snippet name: | wordTok2 |
| Eternal ID of this version: | #1023690/3 |
| Text MD5: | ce48cfbd7fdbfafc33e7d56a7af36aeb |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-07-02 20:42:38 |
| Source code size: | 217 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 548 / 558 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |