any thing else (or if exposed) TCollection
with FCollection.Add do
TTFN
- Original Message -
From: <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Sent: Friday, 8 September 2000 22:23
Subject: [DUG]: Collections or Array of Objects
> HI a
> > What about TList of Objects ???
> > I find the TList easy, flexible and useful...
>
> In D4 at least the TList is actually just a dynamic array implemented
> without the assistance of the Delphi construct but instead using a pointer
> to a block of memory. The issues of performance for insert
> What about TList of Objects ???
> I find the TList easy, flexible and useful...
In D4 at least the TList is actually just a dynamic array implemented
without the assistance of the Delphi construct but instead using a pointer
to a block of memory. The issues of performance for inserts, deletes
> What do you think is better a collection of objects, or an array of objects ?
> Collections seem to be res. complicated, where as an array of objects is simple as.
> Anyone have any thoughts ?
It always depends upon your circumstances.
Array Pros
- Small code.
- Rapid random access and sequenc
t: Friday, September 08, 2000 10:23 PM
> To: Multiple recipients of list delphi
> Subject: [DUG]: Collections or Array of Objects
>
> HI all.
>
> What do you think is better a collection of objects, or an array of
> objects ?
>
> Collections seem to be res. compl
What about TList of Objects ???
I find the TList easy, flexible and useful...
HTH
Regards
Paul
Reply Separator
Subject: [DUG]: Collections or Array of Objects
Author: [EMAIL PROTECTED]
Date: 08/09/2000 22:23
HI all.
What do you
Yeah not knowing the number of items is an issue, although the array only needs to
cover a day, BUT I guess I should use a collection as one never knows what the future
holdsoh well better re-do my code...
Cheers, Jeremy Coulter
---
[EMAIL PROTECTED] wrote:
>
> What do you think is better a collection of objects, or an array of objects ?
> Collections seem to be res. complicated, where as an array of objects is simple as.
> Anyone have any thoughts ?
It depends if you know exactly how many objects you're going to need. It
c
HI all.
What do you think is better a collection of objects, or an array of objects ?
Collections seem to be res. complicated, where as an array of objects is simple as.
Anyone have any thoughts ?
Cheers, Jeremy Coulter
Jeremy Coulter (Manager)
Visual Software Solutions
Christchurch, New