Re: You know you're over-caching IMPs when..
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.