Re: Table View Blues (summary)
Re: Table View Blues (summary)
- Subject: Re: Table View Blues (summary)
- From: <email@hidden>
- Date: Tue, 19 Nov 2002 14:44:39 +0000
- Organization: Rixstep
>
This has been an interesting through and I just want to recap what
>
has been said, and point out that one of Rixstep's main questions
>
hasn't been answered.
>
>
1) Does Unix/BSD/OS X have the equivalent functionality of Win32's
>
HeapCreate, HeapAlloc, HeapDestroy? If no, what is the C
>
programming method used instead?
>
>
1a) Rixstep thinks that the absence of these functions is going to
>
prevent him from writing a NSTableDataSource that will be as quick
>
as the Windows implementation of a tabular browser for many K's of
>
rows. Is this as much of a bummer as he thinks?
I couldn't have put it better myself, Alex - and I didn't! Thanks.
And yes, this is the crux of the matter. When dealing with large quantities of data - let's not say "thousands of records", let's just say "something that is scalable", you can never get away from the onus of loading the data. That much we know. But we also know that in practice you are going to run into trouble when doing away with that data, and for two reasons:
1.) Your visual interface has to be able to dispense with the whole ball of wax in a single call.
2.) Your internal representation has to be able to do the same.
A file of several hundred KB should load and reload instantaneously. Now if the table view can just shrug its shoulders and say "he says there are no rows, OK, so there's no rows" - if it's that simple, then we're over one hurdle.
But underneath - in the data management - something more streamlined has to be engineered. Just guessing, but is there a way to work all this into an autorelease pool? For that would solve it all - given that the pool doesn't waste valuable real time...
Cheers, 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.