Libraryless. Click here for Pure Java version (3327L/20K).
scope mmo_parsePattern_cached. static Map<S, MMOPattern> #cache = synchronizedMRUCache(1000); static MMOPattern mmo_parsePattern_cached(S s) { MMOPattern tok = cache.get(s); if (tok == null) cache.put(s, tok = mmo_parsePattern(s)); ret tok; } end scope
Began life as a copy of #1026499
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1028065 |
| Snippet name: | mmo_parsePattern_cached |
| Eternal ID of this version: | #1028065/3 |
| Text MD5: | d3ba7acfb9ed5d9a4111096bceae61a9 |
| Transpilation MD5: | 68c535c650783005d385541c13292344 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-05-15 15:17:07 |
| Source code size: | 271 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 471 / 653 |
| Version history: | 2 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |