[Mono-list] String comparisons slow
alan.mcgovern at gmail.com
Wed Jul 21 15:35:50 EDT 2010
I believe that's the default since .NET 4.0. You'll have to check MSDN to be
sure though. I'm fairly sure there's a page explaining which type of string
sort is used where.
On Wed, Jul 21, 2010 at 8:30 PM, David S <buttink at gmail.com> wrote:
> Ok. Now I'm confused. How come "CurrentCulture" for US/ENG doesn't just run
> the Ordinal??? Perhaps there are some weird alphabetizing things I just
> don't understand. BTW, Thanks for tell us about the StringComparer class. I
> never knew that existed.
> On Wed, Jul 21, 2010 at 2:56 PM, wtftc <bblinn at gmail.com> wrote:
>> Thanks, guys. This helped.
>> Michael is right here. StringComparer.Ordinal made the sorting about 8x
>> faster for me.
>> View this message in context:
>> Sent from the Mono - General mailing list archive at Nabble.com.
>> Mono-list maillist - Mono-list at lists.ximian.com
> Mono-list maillist - Mono-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list