On Tue, 8 Oct 2002, Leopold Toetsch wrote:
> Leon Brocard wrote:
>
> > Leopold Toetsch sent the following bits through the ether:
> >
> >
> >>So I rewrote the base routines almost from scratch and have currently a
> >>file named list.c
> >>
> >
> > I for one am confused as to the number of array-like classes in
> > Parrot. What is the difference between list and array? Or intlist? Or
> > multiarray? Perhaps replacing one of these would be better?
>
>
> List is by itself not a class, but the working engine, managing all the
> array related functions (indexed access, push/pop/shift/unshift ...)
>
> On top of this there will be the *array classes, providing only a
> wrapper for setting the wanted data_type and calling the appropriate
> function in list.c.
>
> - array.pmc does strict checkin of array dimensions, PMC* data
> - perarray.pmc does autogrow arrays, PMC *data
> - multiarray will just recalc the array index and call list's assign/get
Very good, that was what i was going for but i ran out of time :-)
/Josef