4 bytes of storage for every string on the system at all times? Dunno.
Add it up I guess.

On Sat, 2007-12-01 at 01:23 +0000, Alan McGovern wrote:
> 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.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

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

Reply via email to