Re: [Pyobjc-dev] Autopsy of a ktrace
Brought to you by:
ronaldoussoren
From: <bb...@ma...> - 2003-01-20 04:28:14
|
On Sunday, Jan 19, 2003, at 17:20 US/Eastern, Jack Jansen wrote: > And Bill wrote: >> I used Sampler to monitor file operations and it appears to be that >> +bundleForClass: calls stat() and access() for each class -- likely >> for each Bundle -- to find the bundle for the class. > 1. What is Sampler? /Developer/Applications/Sampler.app -- one of the various performance quantification tools that ship w/OS X developer. > 2. Could we globally override +bundleForClass: with a category or > somesuch and put a cache in there? No! This would change the behavior of the Foundation in a fashion that *may* break Apple (or other's) code. When embedding the Python interpreter in existing apps [I have a project started that does just that], we really, really, really want to avoid *any* categories or posing that *changes* the behavior of the existing API unless it is quite explicitly a change the developer intends. b.bum |