String sorting performance degradation in VS2010 vs. VS2008
问题 The following C# code seems to run slower when built with VS2010 than with VS2008: on a Core i5 Win7 x64 8 GB RAM PC, the VS2008 built version sorts strings in about 7.5 seconds, instead the VS2010 built version requires about 9 seconds. Why is that? Is there anything wrong with my code? Did the sorting algorithm change in VS2010? Is there anything different in the underlying CLR that makes the performance worse? using System; using System.Collections.Generic; using System.Diagnostics; using