mostlylucid

scott galloway's personal blog...
posts - 911, comments - 723, trackbacks - 11

My Links

News

Archives

Post Categories

Misc. Coding

Getting involved in dumb arguments...of when 'for' and 'foreach' can lead to idiocy...

I do have a tendency to get involved in pointless arguments in the ASP.NET Forums...a good example is this one, arguing about the performance of 'foreach' versus 'for'...any opinions from here - the crux of my argument is that for() will in general perform better than foreach() - because the generated IL simply does far less in most cases (I am aware of some optimisations which reduce the benefit for very simple collections).

Print | posted on Tuesday, January 06, 2004 2:55 PM | Filed Under [ .NET ASP.NET ]

Comments have been closed on this topic.

Powered by: