1 | static Map<S, BufferedImage> keriyo_cache = synchroMap(); |
2 | |
3 | static BufferedImage keriyo_cached(S code) { |
4 | BufferedImage img = keriyo_cache.get(code); |
5 | if (img == null) mapPut(keriyo_cache, code, img = keriyo(code)); |
6 | ret img; |
7 | } |
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: | 270 / 303 |
Version history: | 1 change(s) |
Referenced in: | [show references] |