4 ms·
You can just print the result after you have finished measuring the loop.
by Ono-Sendai 10y ago
You can just print the result after you have finished measuring the loop.
- mason55 10y agoUnless you're using a language with lazy evaluation
- tomsmeding 10y agoIn which case there is probably some sequencing function that you can use (seq or deepseq in haskell, for example)
- Athas 10y agoYes, exactly. That is what I usually do.