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

Slow reloadData in NSTableView


  • Subject: Slow reloadData in NSTableView
  • From: Warren Nagourney <email@hidden>
  • Date: Sun, 16 Jun 2002 20:45:15 -0700

I am using a fairly small NSTableView (9 columns by about 3-6 rows) to set the element parameters in an optical raytrace program I have written. Occasionally, I change the parameters using another control (usually a slider) and invoke reloadData to update the tableView. I noticed that the program ran quite slowly when I did this and found that the presence of the reloadData was slowing the program down by a factor of 2. This means that the overhead to redisplay about 30 values is the same as the time to trace 10,000 points through an optical system consisting of a spherical reflecting surface and two transmitting surfaces. This seems too long.

Is there a work-around which updates the display more quickly? Thanks.

Warren Nagourney
Univ. of Wash.
Physics Dept.
_______________________________________________
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.

  • Prev by Date: Re: How to add an application to the login items?
  • Next by Date: Re: Printing in OSX...
  • Previous by thread: Re: How to add an application to the login items?
  • Next by thread: stop editing cells in tableview
  • Index(es):
    • Date
    • Thread