Re: NSTableView performance on Jaguar
Re: NSTableView performance on Jaguar
- Subject: Re: NSTableView performance on Jaguar
- From: Andreas Mayer <email@hidden>
- Date: Mon, 3 Nov 2003 16:58:19 +0100
Am 03.11.2003 um 00:27 schrieb Michael Rothwell:
The Jaguar version appears to poll the source-data object every few
seconds.
Well, I don't know about that, but ...
The end result is a lot more CPU use in Jaguar than in Panther.
... there is still a difference. The AppKit Release Notes say:
"NSTableView now caches the results from numberOfRowsInTableView: when
possible. In the past, NSTableView messaged the data source for this
value an inordinate amount of times."
Is there something I should be aware of when using NSTableView on
Jaguar, to get the performance up and the behavior correct?
Cache the value for numberOfRowsInTableView: in your data source?
bye. Andreas.
_______________________________________________
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.