Libraryless. Click here for Pure Java version (3002L/17K).
svoid warmUp(double seconds default defaultWarmUpSeconds(), Runnable f) { if (f == null) ret; long endTime = sysNow()+toMS(seconds); while (sysNow() < endTime) f.run(); }
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1026096 |
Snippet name: | warmUp - call function for a while to compile it |
Eternal ID of this version: | #1026096/4 |
Text MD5: | 3e97ec86c72a2f5864a894c99cd16f8f |
Transpilation MD5: | 4bf9579f4e134eca44e656597c914b36 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-08-11 04:38:59 |
Source code size: | 185 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 229 / 309 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1032035 - defaultWarmUpSeconds |