[Mono-devel-list] String::GetHashCode speedup
bmaurer at users.sourceforge.net
Wed Feb 25 00:04:59 EST 2004
On Tue, 2004-02-24 at 23:25, Miguel de Icaza wrote:
> 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.
Well, the idea is that you are going to get the hashcode on small
strings more often than on large strings, so you still get a net
For example, if I remember correctly from when I was optimizing MCS, a
large percent of our calls to Hashtable are looking up local variables.
I know that coding conventions are in dispute, but I doubt we are
looking up many 30 some char variable names.
> The other part of the patch looks interesting to me.
That's because it is interesting ;-).
More information about the Mono-devel-list