Re: WeakCache?
Re: WeakCache?
- Subject: Re: WeakCache?
- From: petite_abeille <email@hidden>
- Date: Thu, 1 May 2003 18:24:35 +0200
On Thursday, May 1, 2003, Karl Goiser wrote:
You will have to make sure your object won't be referenced by multiple
weak caches at the same time.
Good point. Another issue that came up with querying the default
retainCount implementation is that it turns out to be shockingly slow
:( So I'm back to square 1 for the moment: a nonretainedObjectValue
wrapper plus custom dealloc method to notify the cache.
In any case: why is the default implementation of retainCount soooooo
slooooooow? I'm not an efficiency freak in any sense, but if there is
one thing that should not get in the way it's the default retainCount
mechanism... Back to in-lining I guess :/
Cheers,
PA.
_______________________________________________
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.