4 ms·
I assume the 87 nanoseconds means the average per loop iteration, not all 1,000,000 iterations.
by adrianratnapala 9y ago
I assume the 87 nanoseconds means the average per loop iteration, not all 1,000,000 iterations.
- red75prime 9y agoIt's unlikely. The entire loop should have taken 0.87 seconds then. That's a bit too much for several million operations, which don't seem to require memory access.
- pklausler 9y ago0.087, but that still seems high.