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

Re: Slow NSTableView


  • Subject: Re: Slow NSTableView
  • From: j o a r <email@hidden>
  • Date: Sat, 17 May 2003 00:19:29 +0200

On Friday, May 16, 2003, at 23:30 Europe/Stockholm, Bruno Blondeau wrote:

My NSTableView is getting strangely very slow. It looks as if there is no
caching for row drawing. Drawing is very slow (and this is especially
noticeable for scrolling).

What can be responsible of this lack of caching?

Probably you. NSTableView doesn't cache anything but the visible cells, as soon as you scroll a new row into view it will ask the data source for the contents of those cells (you can verify this using logs in the data source and delegate methods). How is your data source implemented? Are you for example fetching images from the HD without keeping a cache in RAM? Are you performing calculations on the data in the data source before returning it to the table view, or is it a quick lookup? Are you doing some custom formatting or drawing of the cells? How much, and what kind of, data are we talking about?

j o a r
_______________________________________________
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.

References: 
 >Slow NSTableView (From: Bruno Blondeau <email@hidden>)

  • Prev by Date: Hide the scrollbar track?
  • Next by Date: Re: OT: WWDC
  • Previous by thread: Slow NSTableView
  • Next by thread: communication with an NSTask
  • Index(es):
    • Date
    • Thread