On 24 May 2008, at 7:34 am, Bill Bumgarner wrote:

The NSEnumerator stuff is prone to introducing silly errors, is inefficient, and not very pleasant to look at.


Can you go into more detail about the efficiency improvements? I do use a lot of NSEnumeration-based code and this *could* convince me to use Obj-C 2.0 enumeration (though at present I'm still rather keen to support Tiger). What sort of gains are we looking at? twice as fast? ten times? Or 1.1 times?

Also, if I use a method such as [array makeObjectPerformSelector:...] does that use fast enumeration internally?

thanks,


Graham
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to