Libraryless. Click here for Pure Java version (2636L/17K).
static <A> Timed<A> returnTimed(IF0<A> f) { long time = sysNow(); A a = f.get(); ret Timed(a, sysNow()-time); }
Began life as a copy of #1009019
download show line numbers debug dex
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1026094 |
Snippet name: | returnTimed - evaluate function and return Timed<A> |
Eternal ID of this version: | #1026094/7 |
Text MD5: | 39854e827bd0828eea1ac1b0ec3684ce |
Transpilation MD5: | 202d8843587c39fd76a89946828687a2 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-11-21 11:32:44 |
Source code size: | 121 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 50 / 86 |
Version history: | 6 change(s) |
Referenced in: | [show references] |
Formerly at http://tinybrain.de/1026094 & http://1026094.tinybrain.de