Sorting a DataTable - LINQ performance
Read OriginalThis technical article benchmarks three C#/.NET 3.5 methods for sorting an in-memory DataTable: DataView.Sort, DataTable.Select, and LINQ to DataSet. It details a test harness sorting tables from 100 to 2 million rows, presenting results showing LINQ to DataSet offers the best performance, especially as data volume scales, and explains the importance of immediate execution in the LINQ query.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser