Some time ago, Chris Massey challenged everyone to discuss about four interesting .NET performance questions. One of those questions was "When processing some data into a list, is it faster to build up a collection and return it as an enumerator, or use yield to create the enumerator 'on the fly'?".
Well, I also post a little contribution and surprisingly my post was one of the winners, so I won a free license to ANTS Profiler 4.
Filed in: .NET
Powered by BlogEngine.NET |
Design by John Dyer | Hosted by OrcsWeb