Comment #1 on issue 1663 by [email protected]: Float64Array Performance
http://code.google.com/p/v8/issues/detail?id=1663

The code on the jsperf page seems to be filling all of the arrays with the integer 0.0. If you want JavaScript engines to store values as floating point numbers, and not optimize them to integers, you need to use a real floating point number like 0.1 or 0.25. The literal 0.0 is treated exactly like the literal 0 by the V8 compiler.

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to