1 | sbool aiConceptsMap_fastLoad, aiConceptsMap_silent; |
2 | static L<AIConcept> aiConceptsMap_list; |
3 | |
4 | static Map<S, AIConcept> aiConceptsMap() {
|
5 | long time = sysNow(); |
6 | L<AIConcept> concepts = aiConceptsMap_fastLoad ? fastLoadAIConcepts() : loadAIConcepts(); |
7 | aiConceptsMap_list = concepts; |
8 | Map<S, AIConcept> map = indexByField(concepts, "globalID"); |
9 | if (!aiConceptsMap_silent) |
10 | sysDone(time, "load ai concepts"); |
11 | ret map; |
12 | } |
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: | 750 / 921 |
| Version history: | 7 change(s) |
| Referenced in: | [show references] |