Hacker News new | ask | show | jobs
Firefox bitwise operation speed? (jsperf.com)
2 points by ya 4823 days ago
1 comments

It's called Loop Invariant Code Motion, and it's why jsperf benchmarks are mostly inaccurate. A smart JIT can hoist all the 'work' in a benchmark out of the benchmark loop and only run it once.
thanks!