• 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: Using "IMP" to speed up loops?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using "IMP" to speed up loops?


  • Subject: Re: Using "IMP" to speed up loops?
  • From: John Hörnkvist <email@hidden>
  • Date: Sun, 10 Nov 2002 18:22:38 +0100

On Sunday, November 10, 2002, at 05:20 AM, Ken Tozier wrote:


already encapsulates "id" and "SEL" from the prototype,

It's just a function pointer, it encapsulates nothing...

I would have expected it to be used like:

while ( !test(someObject) )
{
...
}

What's the scoop?

The method implementation expects the first argument to be self and the second to be the selector (_cmd).

Regards,
John Hornkvist
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Using "IMP" to speed up loops? (From: Ken Tozier <email@hidden>)

  • Prev by Date: Re: [Repost] Subclassing NSTableColumn
  • Next by Date: Re: "weak link" framework refs for 10.1 compatibility?
  • Previous by thread: Using "IMP" to speed up loops?
  • Next by thread: Re: Using "IMP" to speed up loops?
  • Index(es):
    • Date
    • Thread