1 | static MultiMap<S, WebNode> ai_indexWebs(Collection<Web> webs) { |
2 | if (hasMultiCore() && l(webs) >= 2000) ret ai_indexWebs_parallel2(webs); |
3 | ret ai_indexWebs_serial(webs); |
4 | } |
5 | |
6 | static MultiMap<S, WebNode> ai_indexWebs_serial(Collection<Web> webs) { |
7 | MultiMap<S, WebNode> index = ai_emptyWebIndex(); |
8 | for (Web web : unnull(webs)) |
9 | ai_addWebToIndex(index, web); |
10 | ret index; |
11 | } |
Began life as a copy of #1010532
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: | #1011347 |
Snippet name: | ai_indexWebs |
Eternal ID of this version: | #1011347/9 |
Text MD5: | 96366a9aa4a4d48f159cf0cbdc80b675 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-28 14:55:42 |
Source code size: | 392 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 425 / 468 |
Version history: | 8 change(s) |
Referenced in: | [show references] |