Download Jar. Libraryless. Click here for Pure Java version (946L/7K).
!7 static new BetterThreadLocal<Bool> b; p { twice { time { repeat 10000000 { if (isTrue(b!)) sleep(10); } }} printBenchResult(10000000); }
Began life as a copy of #1011703
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: | #1011704 |
Snippet name: | Benchmark isTrue(BetterThreadLocal) |
Eternal ID of this version: | #1011704/3 |
Text MD5: | f28d5d88aa1beaeadbfba1859a399395 |
Transpilation MD5: | 04d82a40bbfc784706c53d0cdcbbc29f |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-02 08:09:51 |
Source code size: | 172 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 495 / 1187 |
Version history: | 2 change(s) |
Referenced in: | [show references] |