• 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: _updateTrackingAreas really slow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: _updateTrackingAreas really slow


  • Subject: Re: _updateTrackingAreas really slow
  • From: Corbin Dunn <email@hidden>
  • Date: Thu, 17 May 2012 10:45:05 -0700
  • Priority: normal

Hi _murat,Please log a bug on this for us.


--corbin

On 05/17/12, "email@hidden"  <email@hidden> wrote:
> I have an NSCollectionView with really simple (i.e. no tracking areas) item views.
>
> In a test case of about 1500 items, scrolling gets unacceptably choppy. I've tracked this down to calls to a private method,
> -[NSView _updateTrackingAreas].
>
> While scrolling,  _updateTrackingAreas is called for my item views each time they move a few pixels, even though they have no tracking areas. _updateTrackingAreas in turn calls
> -[NSNotificationCenter postNotificationName:object:userInfo:], which is what is actually taking up all the time.
>
> Stubbing out _updateTrackingAreas improves the scrolling dramatically, but I'd like to find a sanctioned way to at least delay the recalculation of tracking areas until scrolling is done.
>
> Any pointers?
>
> _murat
>
>
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >_updateTrackingAreas really slow (From: "email@hidden" <email@hidden>)

  • Prev by Date: _updateTrackingAreas really slow
  • Next by Date: Re: iOS + and X buttons
  • Previous by thread: _updateTrackingAreas really slow
  • Next by thread: tons of CFURLCache worker threads?
  • Index(es):
    • Date
    • Thread