static Map<S, BufferedImage> keriyo_cache = synchroMap(); static BufferedImage keriyo_cached(S code) { BufferedImage img = keriyo_cache.get(code); if (img == null) mapPut(keriyo_cache, code, img = keriyo(code)); ret img; }
Began life as a copy of #1020229
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1020233 |
| Snippet name: | keriyo_cached |
| Eternal ID of this version: | #1020233/2 |
| Text MD5: | ce3b6a4dbcb406e015562a1435905ecb |
| Author: | stefan |
| Category: | javax / smilies |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-12-11 02:20:26 |
| Source code size: | 235 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 491 / 534 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |