Re: Is C's parameter passing more-efficient than ObjC's message passing?
Re: Is C's parameter passing more-efficient than ObjC's message passing?
- Subject: Re: Is C's parameter passing more-efficient than ObjC's message passing?
- From: "Frederick C. Lee" <email@hidden>
- Date: Fri, 10 Feb 2006 16:32:51 -0800
Interesting.
When you say, 'no message passing overhead with a straight c
function...'
Are you saying that C's parameter passing is *more efficient* than
ObjC's message passing?
void doAlphaRects(CGContextRef context) {...} vs
- (void) doAlphaRects:(CGContextRef) context) {....}
On Feb 10, 2006, at 4:00 PM, dhart wrote:
For one, there is no message passing overhead with a straight c
function
call vs. an obj-c message send. Additionally, perhaps the c
function is used
across class definitions/applications/etc... Or it came from a
older app,
etc...
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden