阅读背景:

Why is List<>.OrderBy LINQ faster than IComparable+List<>.Sort in Debug mode?

来源:互联网 

I was interested in whether it would be faster to sort my classes using LINQ, or by implementing the IComparable interface and List.Sort. I was quite surprised when the LINQ code was faster.I was interested in whether it would be faster




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: