• 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: You know you're over-caching IMPs when..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: You know you're over-caching IMPs when..


  • Subject: Re: You know you're over-caching IMPs when..
  • From: Pandaa <email@hidden>
  • Date: Mon, 14 Jun 2004 01:24:09 +0200

2004-06-13 kl. 23.14 skrev Marcel Weiher:

On 13 Jun 2004, at 17:36, Pandaa wrote:

..you cache methodForSelector: ^^'' *and see a performance gain*.

:-)) Yes, have had the same happen, because it seems there are no documented runtime functions that get an IMP via the cache.

Are you sure that class_getInstanceMethod(Class,SEL) will ignore the method cache of the class?

It is not explicitly documented to use the cache, but neither is objc_msgSend.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. email@hidden . . www.synapticpulse.net .
_______________________________________________
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: 
 >You know you're over-caching IMPs when.. (From: Pandaa <email@hidden>)
 >Re: You know you're over-caching IMPs when.. (From: Marcel Weiher <email@hidden>)

  • Prev by Date: Hidden message
  • Next by Date: Re: How can I find out info on running processes
  • Previous by thread: Re: You know you're over-caching IMPs when..
  • Next by thread: Semi-OT: Re: which americans....?
  • Index(es):
    • Date
    • Thread