Re: Synthesized instance variables
Re: Synthesized instance variables
- Subject: Re: Synthesized instance variables
- From: Jean-Daniel Dupas <email@hidden>
- Date: Wed, 11 Mar 2009 17:02:23 +0100
Le 11 mars 09 à 16:03, Andreas Känner a écrit :
Hi,
Am 11.03.2009 um 13:27 schrieb Jean-Daniel Dupas:
Le 11 mars 09 à 13:10, Andreas Känner a écrit :
Hi there,
does anybody know if there is an efficient way to directly access
instance variables which have been synthesized for the 64bit
runtime? Using object_getInstanceVariable is 10 times slower than
the code the compiler generates for the synthesized getter.
What prevent you to use the synthesized getter ?
I want to override the synthesized getter to create a value on demand.
Regards,
Andreas
Good reason.
And what prevent you to simply declare the ivar in the interface
instead of letting the compiler generating it ?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden