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

13
LINES

< > BotCompany Repo | #1015259 // Keep all snippets tokenized [v3 with preloading]

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Uses 3874K of libraries. Click here for Pure Java version (12417L/86K).

1  
!7
2  
3  
p-experiment {
4  
  print("preload_done=" + preload_done);
5  
  preload("allTokens", f tokenizedSnippetDB, r {
6  
    time {
7  
      int sum = 0;
8  
      for (L<S> tokens : allTokens)
9  
        sum += tokens.contains("if") ? 1 : 0;
10  
      print(sum);
11  
    }
12  
  });
13  
}

Author comment

Began life as a copy of #1015256

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: #1015259
Snippet name: Keep all snippets tokenized [v3 with preloading]
Eternal ID of this version: #1015259/9
Text MD5: d70bb542e06535641e974ce2d5bbc6fe
Transpilation MD5: fcd1b9de7f6cc43a4dae4d9274375945
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-11 04:19:48
Source code size: 264 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 309 / 816
Version history: 8 change(s)
Referenced in: [show references]