7 Apr
2008
7 Apr
'08
3:57 p.m.
I agree that the good implementation is with array. The bad thing is that we must bound the size of the array ourself. I think that a size of 64 or 128 for the array is enough, right? The advantage of a list is that we do not need to take care about the size. David
7 Apr
7 Apr
4:08 p.m.
On 07/04/2008, David Adam <david.adam.cnrs(a)gmail.com> wrote:
I agree that the good implementation is with array.
The bad thing is that we must bound the size of the array ourself. I think that a size of 64 or 128 for the array is enough, right?
Well no, you keep track of the array size and grow it when it's too small when doing a push.
6462
Age (days ago)
6462
Last active (days ago)
1 comments
2 participants
participants (2)
-
David Adam -
H. Verbeet