[Mono-list] String comparisons slow

Michael Hutchinson m.j.hutchinson at gmail.com
Wed Jul 21 04:34:31 EDT 2010


On Wed, Jul 21, 2010 at 4:18 AM, David S <buttink at gmail.com> wrote:
> Man, I wish there was an edit on a Mailing List. ANYWHO, I made my own
<snip>
> I'm pretty sure that compare is good. But now I get
> OUTPUT = 00:00:01.6366606
> Then again, I could have messed up my compare so someone check it again for
> me. Its not the perfect solution, but its kinda cool that it might be right
> and faster than the original. XP Thinking about it, this might only work
> with English .... hmmm food for thought.

Or you could just use StringComparer.Ordinal.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Mono-list mailing list