• 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
Slowwwwww releasing of text views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Slowwwwww releasing of text views


  • Subject: Slowwwwww releasing of text views
  • From: Izidor Jerebic <email@hidden>
  • Date: Mon, 6 Dec 2004 19:31:08 +0100

I have an application which creates a lot of text views in the window. When this window is closed, it takes enourmous time to release it.

Shark shows that most of the time is spent in [NSNotificationCenter removeObserver....] inside text storage and layout manager. I tried to release these text views in another thread(s), to continue event processing and user would not need to wait, but it seems that those releases are forced to happen on main thread, because the event processing does not proceed until after everything is released...

Does anybody have any idea how I could make this window close operation faster or at least perform in background and not interfere with event processing?

izidor

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Slowwwwww releasing of text views
      • From: "M. Uli Kusterer" <email@hidden>
    • Re: Slowwwwww releasing of text views
      • From: Izidor Jerebic <email@hidden>
  • Prev by Date: New Debugging TechNote
  • Next by Date: searching with bindings
  • Previous by thread: New Debugging TechNote
  • Next by thread: Re: Slowwwwww releasing of text views
  • Index(es):
    • Date
    • Thread