V8 integration

71 views
Skip to first unread message

ronkorving

unread,
Jan 28, 2012, 5:08:06 AM1/28/12
to cityhash-discuss
Hi guys, great work!
I was wondering if you (well, I guess the V8 team) are planning to
integrate this into the V8 internals to speed up property lookups and
harmony weak maps. I'm also curious what the expected benefit would be
compared to current hash logic.

Jyrki Alakuijala

unread,
Jan 28, 2012, 5:30:29 AM1/28/12
to cityhash...@googlegroups.com

Strong hashing is more important where conflicts have a relatively
high cost, for example additional disk seeks. When conflicts are rare
or handled cheaply, like in small in-memory hash tables, the benefit
of a strong hashing can be rather small. I don't know enough of V8 to
know if CityHash would be helpful there, but it is possible that it
would.

Reply all
Reply to author
Forward
0 new messages