Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1002730 // snlToTree_cached

JavaX fragment (include)

static HashMap<S, Lisp>snlToTree_cached_cache = new HashMap;

static Lisp snlToTree_cached(S s) {
  Lisp l = snlToTree_cached_cache.get(s);
  if (l == null)
    snlToTree_cached_cache.put(s, l = snlToTree (s));
  ret l;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1002730
Snippet name: snlToTree_cached
Eternal ID of this version: #1002730/1
Text MD5: 4c7820400a3728e486989c1f0e5496ec
Author: stefan
Category: nl bots
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-02-18 05:33:15
Source code size: 228 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 612 / 903
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#3000382 - Answer for ferdie (>> t = 1, f = 0)