harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: Performance improvement of java.util.HashMap
Date Fri, 29 Jun 2007 14:18:25 GMT
Yuri Dolgov wrote:
> I've done couple of experiments with different hash functions
> (including all the functions proposed in this mail thread), but none
> of them worked satisfactorily for hashmap with small number of elemts
> (32-64) when I've changed only upper bits. Do you have any progress
> so far?

What usecase does this represent?  I agree with Sergey that we probably
don't want to spend much time 'improving' the incoming hashCode() inside
the hashMap, but should just ensure we don't suck for the most common
range of values.

Regards,
Tim

Mime
View raw message