3 ms·
Unexpected performance of Javascript Arrays
- jt2190 13y agoI haven't dug into this in detail, but On first glance this looks like a "micro benchmark", meaning that the runtime is likely changing the code that's being executed. (Edit: The while loop is probably being unrolled, for example.)