Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Unexpected performance of Javascript Arrays
(
jsperf.com
)
1 point
by
IvanK_net
on Nov 8, 2013
|
hide
|
past
|
favorite
|
1 comment
jt2190
on Nov 8, 2013
[–]
I 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.)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
(Edit: The while loop is probably being unrolled, for example.)