Hello Cetin,
>
> I tested string hash code collisions in mono and .NET and saw that 
> mono's hash code algorithm for strings lead to almost the same 
> collisions with java whereas .NET seems to perform better with 0 
> collisions in both tests.
Your observation is correct. Mono string GetHashCode has bad hash 
distribution. This is something we should fix in future and I have some 
code ready locally. If you can provide representative sample data it 
would help me to test our new implementation.


Thanks
Marek

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to