// returns minimal time needed static long bench1sec(S desc, Runnable r) { ret benchFor1Second(desc, r); } static long bench1sec(Runnable r) { ret benchFor1Second(r); } // returns result of function static <A> A bench1sec(S desc default str(f), IF0<A> f) { ret benchFor1Second(desc, f); }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1032780 |
Snippet name: | bench1sec - synonym of benchFor1Second |
Eternal ID of this version: | #1032780/1 |
Text MD5: | 7a0b6744c190c3c7bcef5da1f252a42a |
Author: | someone |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-06 03:55:51 |
Source code size: | 306 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 179 / 195 |
Referenced in: | [show references] |