static LL<S> allTokens; svoid tokenizedSnippetDB() { loadSnippetsDBForAnalysis(); print("Tokenizing."); allTokens = new L; time { for (CSnippet s) if (nempty(s.text)) { L<S> tokens = internAll(javaTok(s.text())); allTokens.add(tokens); s.text = tokens; } } print(n2(totalLength(allTokens)) + " tokens"); }
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: | #1015262 |
| Snippet name: | tokenizedSnippetDB |
| Eternal ID of this version: | #1015262/1 |
| Text MD5: | c2bbf23ee404e6ffa216dbfbf36a955f |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-05-11 04:08:53 |
| Source code size: | 373 bytes / 16 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 635 / 672 |
| Referenced in: | [show references] |