• 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: Speed comparison: compare:, methodForSelector: & CFNumberCompare()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Speed comparison: compare:, methodForSelector: & CFNumberCompare()


  • Subject: Re: Speed comparison: compare:, methodForSelector: & CFNumberCompare()
  • From: Public Look <email@hidden>
  • Date: Sun, 22 Feb 2004 18:24:26 -0500

There is discussion of the merits and relative performance of using function pointers. There is discussion of the implementation of message sending. There is description of profiling to find out for sure where the time is being spent instead of guessing. There is discussion of the specific issues having to do with Foundation classes and class clusters such as NSNumber.

On Feb 22, 2004, at 2:55 PM, Allan Odgaard wrote:

On 22. Feb 2004, at 20:48, Public Look wrote:

Here is an interesting observation. Sorting 100,000 random integers in different ways (with std::sort): [...]
See http://www.mulle-kybernetik.com/artikel/Optimization/opti.html

Should there be anything specific on that page which explains the difference between calling the CF function and using the Cocoa implementation function pointer?
_______________________________________________
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.
_______________________________________________
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.

  • Follow-Ups:
    • Re: Speed comparison: compare:, methodForSelector: & CFNumberCompare()
      • From: Allan Odgaard <email@hidden>
References: 
 >Speed comparison: compare:, methodForSelector: & CFNumberCompare() (From: Allan Odgaard <email@hidden>)
 >Re: Speed comparison: compare:, methodForSelector: & CFNumberCompare() (From: Public Look <email@hidden>)
 >Re: Speed comparison: compare:, methodForSelector: & CFNumberCompare() (From: Allan Odgaard <email@hidden>)

  • Prev by Date: Re: Animated GIF
  • Next by Date: Re: Sheets and NSTimer
  • Previous by thread: Re: Speed comparison: compare:, methodForSelector: & CFNumberCompare()
  • Next by thread: Re: Speed comparison: compare:, methodForSelector: & CFNumberCompare()
  • Index(es):
    • Date
    • Thread