Keeping everything as Int32 but casting using "return hash >>> 0" 
is 0.00022ms per key.

Keeping everything as Int32 but casting using "return hash < 0 ? 4294967296 
+ hash : hash" is 0.000051ms per key, order of magnitude faster and still 
32-bit.

On Wednesday, May 30, 2012 6:25:39 PM UTC+2, Vyacheslav Egorov wrote:
>
> c) stop doing >>> 0 at the end; 
>

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

Reply via email to