Libraryless. Click here for Pure Java version (780L/6K/19K).
!7 p { int n = 10000000; O f = func(int i) { i*2 }; for rep to 10: { int x = 0; time { for i to n: x += (int) callF_uncached(f, i); } print(x); x = 0; time { for i to n: x += (int) callF(f, i); } print(x); } }
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: | #1007685 |
Snippet name: | Optimize callF [OK] |
Eternal ID of this version: | #1007685/7 |
Text MD5: | 7833f8c9a0286d262a771009ce4961df |
Transpilation MD5: | bf9ef15e61d649be51d12ab0945ab281 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-04-02 13:53:32 |
Source code size: | 265 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 534 / 583 |
Version history: | 6 change(s) |
Referenced in: | #1007830 - Optimize callF with string [OK] |