Well, I couldn't resist. I added a third test to my little test
project, using the new forwardingTargetForSelector: which Michael and
Peter had ferreted out of the Leopard Release Notes.
It is about 40x faster than the old NSInvocation-based message
forwarding. On the Early 2006 Core 2 Duo Mac Mini, typically a half
microsecond per message compared with 20 microseconds.
Close to 40x less code too :)
_______________________________________________
Cocoa-dev mailing list ([email protected])
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]