Libraryless. Click here for Pure Java version (4932L/27K).
// returns minimal time needed static long benchFor1(S desc, Runnable r) { ret benchFor1Second(desc, r); } static long lambda0Like benchFor1(Runnable r) { ret benchFor1Second(r); } // returns result of function static <A> A benchFor1(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: | #1033648 |
Snippet name: | benchFor1 - synonym of benchFor1Second |
Eternal ID of this version: | #1033648/3 |
Text MD5: | bc5b7a0b5933d71407f9bf6d09501e57 |
Transpilation MD5: | 7c70ec2fed031440c834c8459f9d28dd |
Author: | someone |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-12-29 15:46:54 |
Source code size: | 328 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 175 / 242 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |