|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
On Mar 13, 2008, at 3:21 PM, Mike Engber wrote:
Lately I've been working with large table views, hundreds of thousands of records.
My approach has been to take advantage of the fact that the data source only has to provide rows in sorted order - and not all of the rows at once, just the ones that are requested - generally the visible rows.
I do not keep all of my items in a sorted NSArray. They're stored in my own data structure.
So, I guess the question is - what is the data structure you're using for your records and do you really need to keep them in big NSArray. A big NSArray of NSObjects has a fair amount of overhead - something you may want to avoid if you can.
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.