Re: Table View Blues
Re: Table View Blues
- Subject: Re: Table View Blues
- From: David Remahl <email@hidden>
- Date: Tue, 19 Nov 2002 00:23:06 +0100
>
>> switch the contents of the table view so often that memory
>
>> allocation / deallocation is a serious bottleneck, don't you
>
>> think that this would cause the table view in itself to be
>
>> almost useless as an UI element?
>
>
>
> Absolutely not. I have several examples where it not only is necessary, but
>
> works fine - given the memory stuff I can use where I have recently been.
>
>
My point (usability issues ignored, for the time being), is that you can use
>
what ever storage and allocation method you want. For example, you could use a
>
linked list in C code, for which you are responsible of all memory management.
>
The actual allocation is not a siginifiant bottle neck in most cases, but
>
retain/release may be. Many else have pointed this out.
>
>
In the data source, you then provide the information required by the control.
>
That is seldom more than 200 cells at a time, and that happens in a quite
>
short time, and is not dependant of the size of the underlying data set.
>
>
/ Sincerely, David Remahl
_______________________________________________
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.