Re: Accelerated Obj-C Dispatch on Intel Only
Re: Accelerated Obj-C Dispatch on Intel Only
- Subject: Re: Accelerated Obj-C Dispatch on Intel Only
- From: Eric Albert <email@hidden>
- Date: Mon, 27 Mar 2006 16:08:46 -0800
On Mar 27, 2006, at 3:12 PM, Ladd Van Tol wrote:
On Mar 27, 2006, at 2:50 PM, Eric Albert wrote:
There is no accelerated Obj-C dispatch on Intel, so there's no
advantage to turning it on. Testing showed that implementing it
would not have resulted in any performance improvement there
because the standard objc_msgSend implementation was fast enough.
Is there any performance advantage on PowerPC? Thus far, I have not
been able to measure any performance difference on a Dual 2 GHz G5
running 10.4.5 when calling methods on Foundation classes like
NSString.
We have measured a performance advantage on PowerPC, yes, but
remember that this is only for objc_msgSend itself. For most real
Obj-C calls, there's more work in the method itself than in getting
to the method in the first place. That said, it'll make accessors
and things like that faster, but few applications have objc_msgSend
itself as a performance bottleneck.
-Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden