sbool aiConceptsMap_fastLoad, aiConceptsMap_silent; static L<AIConcept> aiConceptsMap_list; static Map<S, AIConcept> aiConceptsMap() { long time = sysNow(); L<AIConcept> concepts = aiConceptsMap_fastLoad ? fastLoadAIConcepts() : loadAIConcepts(); aiConceptsMap_list = concepts; Map<S, AIConcept> map = indexByField(concepts, "globalID"); if (!aiConceptsMap_silent) sysDone(time, "load ai concepts"); ret map; }
Began life as a copy of #1007161
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1007162 |
Snippet name: | aiConceptsMap (key = global id) |
Eternal ID of this version: | #1007162/8 |
Text MD5: | 55ccb7c9c1c2c1b1fc14370522cf31cc |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-04-08 21:31:23 |
Source code size: | 438 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 507 / 662 |
Version history: | 7 change(s) |
Referenced in: | [show references] |