I think there is another problem that is hidden behind all the complexity of your program. I can tell you this, it isn&#39;t string comparer.<div><br></div><div><div>using System;</div><div>using System.Collections.Generic;</div>
<div>using System.Diagnostics;</div><div><br></div><div>namespace StringCompare</div><div>{</div><div><br></div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>public class MainClass</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>{</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">                </span>public static void Main()</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>{</div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span>List&lt;List&lt;string&gt;&gt; lists = new List&lt;List&lt;string&gt;&gt;();</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>Random r = new Random();</div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span>for ( int i=0; i &lt; 4; i++ ) {</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>lists.Add( new List&lt;string&gt;() );</div><div>
<span class="Apple-tab-span" style="white-space:pre">                                </span>for ( int j=0; j &lt; 40000; j++ )</div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span>lists[i].Add( r.Next().ToString() );</div><div>
<span class="Apple-tab-span" style="white-space:pre">                        </span>}</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>Stopwatch watch = new Stopwatch();</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>watch.Start();</div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span>foreach ( List&lt;string&gt; list in lists )</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>list.Sort();</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>watch.Stop();</div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span>Console.WriteLine( watch.Elapsed );</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>}</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>}</div>
<div>}</div><div><br></div><div>OUTPUT = 00:00:03.1364747</div><div><br></div><div>That being said I think its how you set up your threading. It could very easily be how Mono handles Threads (sleeping and such). Honestly, I have no idea, but I am intrigued.</div>
<br><div class="gmail_quote">On Wed, Jul 21, 2010 at 3:31 AM, Stifu <span dir="ltr">&lt;<a href="mailto:stifu@free.fr">stifu@free.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
No release date, but Miguel recently said [1] &quot;6-8 weeks from now.&quot;<br>
No idea how it compares with the .NET GC.<br>
<br>
[1] <a href="http://tirania.org/blog/archive/2010/Jul-14.html" target="_blank">http://tirania.org/blog/archive/2010/Jul-14.html</a><br>
<div><div></div><div class="h5"><br>
<br>
Mike Christensen-2 wrote:<br>
&gt;<br>
&gt; Is there a release date for 2.8?<br>
&gt;<br>
&gt; Also, how does the 2.8 GC (I realize it&#39;s only a beta) compare with the<br>
&gt; .NET GC?<br>
&gt;<br>
&gt; Mike<br>
&gt;<br>
&gt; On Tue, Jul 20, 2010 at 11:19 PM, Stifu &lt;<a href="mailto:stifu@free.fr">stifu@free.fr</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; There has been performance improvements since Mono 2.0. You may get<br>
&gt;&gt; better<br>
&gt;&gt; results with Mono 2.6. Or if you&#39;re not in a hurry, wait for Mono 2.8<br>
&gt;&gt; which<br>
&gt;&gt; should come out soon (that way you could also check out performances with<br>
&gt;&gt; the new GC).<br>
&gt;&gt; --<br>
&gt;&gt; View this message in context:<br>
&gt;&gt; <a href="http://mono.1490590.n4.nabble.com/String-comparisons-slow-tp2296525p2296643.html" target="_blank">http://mono.1490590.n4.nabble.com/String-comparisons-slow-tp2296525p2296643.html</a><br>
&gt;&gt; Sent from the Mono - General mailing list archive at Nabble.com.<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Mono-list maillist  -  <a href="mailto:Mono-list@lists.ximian.com">Mono-list@lists.ximian.com</a><br>
&gt;&gt; <a href="http://lists.ximian.com/mailman/listinfo/mono-list" target="_blank">http://lists.ximian.com/mailman/listinfo/mono-list</a><br>
&gt;&gt;<br>
&gt; _______________________________________________<br>
&gt; Mono-list maillist  -  <a href="mailto:Mono-list@lists.ximian.com">Mono-list@lists.ximian.com</a><br>
&gt; <a href="http://lists.ximian.com/mailman/listinfo/mono-list" target="_blank">http://lists.ximian.com/mailman/listinfo/mono-list</a><br>
&gt;<br>
&gt;<br>
<br>
</div></div><font color="#888888">--<br>
View this message in context: <a href="http://mono.1490590.n4.nabble.com/String-comparisons-slow-tp2296525p2296702.html" target="_blank">http://mono.1490590.n4.nabble.com/String-comparisons-slow-tp2296525p2296702.html</a><br>

</font><div><div></div><div class="h5">Sent from the Mono - General mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Mono-list maillist  -  <a href="mailto:Mono-list@lists.ximian.com">Mono-list@lists.ximian.com</a><br>
<a href="http://lists.ximian.com/mailman/listinfo/mono-list" target="_blank">http://lists.ximian.com/mailman/listinfo/mono-list</a><br>
</div></div></blockquote></div><br></div>