kodefuguru
Are You a Developer Who Survived the Apocalypse?
Should you use delayed execution, materialization, or memoization?
Win a Limited Edition JustDecompile T-Shirt
Telerik JustCode Q2 2011 SP1 Released
Keep your code tidy with JustCode
Async Support in Telerik JustCode
Windows 8 and the Death of Silverlight
Create Projects from .NET Assemblies with JustDecompile
What's New in JustCode for Q2 2011
10 Telerik JustCode Videos
TryParse vs Convert
Get rid of out parameters
DataGridView Export to Excel
DMO to SMO
Responsible Extension Methods
Open Source Pivot and Panorama Controls for Windows Phone 7
Multi-Touch in WPF and Silverlight
Re:LINQ is better than foreach
on Tuesday May 11, 2010 @02:08PM (#1338723)
I changed it to run with one million names and ran with the optimized foreach. I only did one pass.
foreach 00:00:01.7348710 linq 00:00:01.8607973
Re:LINQ is better than foreach
on Tuesday May 11, 2010 @02:01PM (#1338705)
Everyone get's that wrong, including Microsoft's documentation ;). It's a good optimization though, in spite of the LSP violation.
Re:LINQ is better than foreach
on Tuesday May 11, 2010 @11:24AM (#1338146)
IQueryable's get converted to expression trees which then get converted to sql. It's more of a "translated" to sql rather than a "compiled" to sql. The power of IQueryable is that the expression trees can be converted to so many different kinds of expressions, and you can write your own.
IEnumerable's extensions are mostly iterators over sequences.
Re:Rex - Regular Expression Exploration
on Tuesday May 11, 2010 @11:17AM (#1338111)
I've played around with this. You can reference the executable and play around with it.
http://www.kodefuguru.com/post/2010/05/03/Generate-Matches-f...