[Mono-devel-list] [PATCH] CaseInsensitiveHashCodeProvider (CultureInfo)

Ben Maurer 05mauben at hawken.edu
Tue Mar 16 10:12:39 EST 2004


A hash code provider should *NEVER* allocate data when it gets the hash
code. At the very least, it could be done in C where you can do
malloc/free and avoid the cost of the GC (it calls into c anyways with
your patch due to the ToLower call).

-- Ben

>>> Mohammad DAMT <md at mt.web.id> 03/16/04 05:41 AM >>>
seems that no one had time to implement CultureInfo-aware
CaseInsensitiveHashCodeProvider as described in
[http://www.mail-archive.com/mono-list@lists.ximian.com/msg05534.html],
so I send
this patch which implements ctor of CaseInsensitiveHashCodeProvider
(CultureInfo).
-- 
Mohammad DAMT <mdamt at bisnisweb.com>
http://www.bisnisweb.net ASP.Net Linux web hosting




More information about the Mono-devel-list mailing list