Download Jar. Libraryless. Click here for Pure Java version (2039L/13K).
!7 p { bench 1000000 { ai_parseTriple("same -> old -> same old"); } ai_parseTriple_setCacheSize(2); bench 1000000 { ai_parseTriple("same -> old -> same old"); ai_parseTriple("two -> also -> work"); } ai_parseTriple_setCacheSize(1); bench 1000000 { ai_parseTriple("same -> old -> same old"); ai_parseTriple("but -> not -> now"); } ai_parseTriple_setCacheSize(1000); int i = 0; bench 1000000 { ai_parseTriple("same -> old -> same old" + i++); } bench 1000000 { ai_parseTriple(aGlobalID() + " -> " + aGlobalID() + " -> " + aGlobalID()); } }
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: | #1012645 |
Snippet name: | Benchmark ai_parseTriple |
Eternal ID of this version: | #1012645/5 |
Text MD5: | 5029f35997fcb85c6ff5caa63a49c0f8 |
Transpilation MD5: | af542b91a459d59be480a7feaed9cf73 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-09 23:30:44 |
Source code size: | 646 bytes / 32 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 567 / 1292 |
Version history: | 4 change(s) |
Referenced in: | -