Yes, it does surprisingly well. Also, I did not include it in my initial tests, which led to my conclusion. I also tried this with my last patch and random floats/ints where basically all those hash functions perform badly. However, I dont think we can do anything about it and maybe its also not a very important use case. I would therefore also propose to use the one from HashMap.
On Sun, 20 Mar 2011, Martin Stjernholm, Roxen IS @ Pike developers forum wrote:
Seems to me that HashMap.java is doing a good job and is very simple at the same time.