Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
kevingadd
· 13y ago · 0 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.
Comments
[–]
ya
13y ago
thanks!