Interesting. If unsigned integers are completely eliminated I would
expect it to be as fast as 31-bit version. Strange to still the slow
down still.

I would expect that conversion to bucket is independent of hash sign,
it should be the same: bucket_index = hash & mask; where mask =
number_of_buckets - 1 (and number_of_buckets is a power of 2).

--
Vyacheslav Egorov

On Wed, May 30, 2012 at 7:02 PM, Joran Greef <jo...@ronomon.com> wrote:
> To clarify, Array instead of Uint32Array is slightly slower as expected:
> 0.000054ms per key vs 0.000048ms per key.
>
> --
> v8-users mailing list
> v8-users@googlegroups.com
> http://groups.google.com/group/v8-users

-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users

Reply via email to