[Mono-dev] String.GetHashCode()
Alan McGovern
alan.mcgovern at gmail.com
Fri Nov 30 20:23:30 EST 2007
A thought struck me while i was dozing on the plane on the way home from the
summit.
Since strings are immutable, shouldn't it be possible to compute the
hashcode once and store it rather than recomputing it over and over again?
Is there some really obvious reason that i can't think of that would make
this a bad idea?
Alan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20071201/ea798d00/attachment.html
More information about the Mono-devel-list
mailing list