Getting Loopy
Over at the Visual Basic blog, Matt Gertz has a great post on hidden effects with loops on stuff you may not realize. He talks about how looping backwards versus forwards depending on the situation will drastically simplify your code or if you’re looping and using the array.Count how the Count property will be called on every pass.
Matt also has another article about additional hidden costs too that is an interesting, quick read.
Comment Notification
If you would like to receive an email when updates are made to this post, please register here
Subscribe to this post's comments using
Comments
Leave a Comment