Libraryless. Click here for Pure Java version (2767L/17K).
// prints stats about number of steps & time taken, returns computation result static <A> A vStackComputeWithStats(VStack.Computable<A> computation) { if (computation == null) null; VStack stack = new(computation); stepAllWithStats(stack); ret (A) stack.result(); }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1030377 |
| Snippet name: | vStackComputeWithStats |
| Eternal ID of this version: | #1030377/4 |
| Text MD5: | ed4a0ddb76242c82af59e2a1f2a00a61 |
| Transpilation MD5: | 182df87a1d4cf4c7a9df0a98ca7e1f2e |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-12-10 14:27:15 |
| Source code size: | 279 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 410 / 547 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |