[Mono-devel-list] String::GetHashCode speedup

Miguel de Icaza miguel at ximian.com
Tue Feb 24 23:25:14 EST 2004


> So it appears the break-even point here is at ~ 38 chars. Also, when I
> ran the GetHashCode function on MS's runtime, it was always faster than
> MS's String.GetHashCode function. So, it seems that with a little bit of
> JIT work, we could push this break-even point much higher, or make it so
> we always win.

Until that happens, it does not make sense to go to the managed
version.  It is a change that just changes the conditions to something
that looks better in this particular benchmark.

The other part of the patch looks interesting to me.

More information about the Mono-devel-list mailing list