• 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: WeakCache?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: WeakCache?
      • From: Karl Goiser <email@hidden>
  • Prev by Date: book recommendations
  • Next by Date: Re: book recommendations
  • Previous by thread: Re: WeakCache?
  • Next by thread: Re: WeakCache?
  • Index(es):
    • Date
    • Thread