Vincent Gable’s Blog

September 14, 2008

Fast Enumeration Really Is Faster

Filed under: Cocoa, MacOSX, Objective-C, Programming, Tips — Tags: , , — Vincent Gable @ 3:30 pm

Your code will also run faster because the internal implementation reduces message send overhead and increases pipelining potential.

Matt Gallagher

I’ve written before about the advantages of a better enumeration paradigm, clearer code that’s faster to write, shorter, and with fewer bugs.

If you program in Cocoa, you should adopt fast enumeration post-haste.

No Comments »

No comments yet.

RSS feed for comments on this post.

Leave a comment

Powered by WordPress