• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is C's parameter passing more-efficient than ObjC's message passing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: Re: Objective-C++, class scope constants, name conflicts
  • Next by Date: Re: ObjC procedure vs C procedure within Cocoa
  • Previous by thread: Re: ObjC procedure vs C procedure within Cocoa
  • Next by thread: Re: Is C's parameter passing more-efficient than ObjC's message passing?
  • Index(es):
    • Date
    • Thread