Monthly Archives: June 2011

LINQ Intersect() 2.7x faster with HashSet

Sometime one shouldn’t be too optimistic with .NET Fx optimization. I knew that the extension method IEnumerable.Count() was optimized to check if the enumerable was a collection, in such case the Collection.Count property was called instead (see Count() impl at … Continue reading 

Posted in Uncategorized | 6 Comments

Scalable vs. Non-Scalable job

I am currently reading The Black Swan: The Impact of the Highly Improbable by Nassim Nicholas Taleb, certainly a great book to read. One interesting note at the beginning of the book is about Scalable vs. Non-Scalable job. I found … Continue reading 

Posted in Uncategorized | 10 Comments