• 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: Message Forwarding Overhead / Performance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Message Forwarding Overhead / Performance


  • Subject: Re: Message Forwarding Overhead / Performance
  • From: Jerry Krinock <email@hidden>
  • Date: Tue, 28 Oct 2008 17:29:41 -0700

Well, I couldn't resist. I added a third test to my little test project, using the new forwardingTargetForSelector: which Michael and Peter had ferreted out of the Leopard Release Notes.

It is about 40x faster than the old NSInvocation-based message forwarding. On the Early 2006 Core 2 Duo Mac Mini, typically a half microsecond per message compared with 20 microseconds.

Close to 40x less code too  :)

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Message Forwarding Overhead / Performance (From: Jerry Krinock <email@hidden>)
 >Re: Message Forwarding Overhead / Performance (From: Bill Bumgarner <email@hidden>)
 >Re: Message Forwarding Overhead / Performance (From: Jerry Krinock <email@hidden>)
 >Re: Message Forwarding Overhead / Performance (From: Bill Bumgarner <email@hidden>)
 >Re: Message Forwarding Overhead / Performance (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: CALayer properties
  • Next by Date: Re: Message Forwarding Overhead / Performance
  • Previous by thread: Re: Message Forwarding Overhead / Performance
  • Next by thread: Re: Message Forwarding Overhead / Performance
  • Index(es):
    • Date
    • Thread