Slow reloadData in NSTableView
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.