On Thu, Jul 12, 2012, at 02:40 PM, Jens Alfke wrote: > By comparison, creating the methods at runtime is comparably slow on the > first call, then much faster after that. It's still going to be slower > than a regular method call because the implementation has to figure out > which method you were calling and map that to a property name, but it's > not as bad.
Not necessarily. Now that we have blocks-as-IMPs, you could choose to create a separate IMP for each property you're dynamically adding, rather than disassembling the selector from within the IMP. Classic time/memory tradeoff. --Kyle Sluder _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com