Dan Sugalski wrote:
> Strong typing and sparse arrays are orthogonal--no reason we shouldn't use
> them if someone does:
>
>    $foo[time]
>
> or something of the sort. (People like huge arrays with few scalars in
> them too... :)
>
Good point. It also occurs to me that we would want some syntax to say
"Don't make this sparse". That way, arrays that are, for example, read from
a file, could be stored contiguously and can be accessed without traversing
extra pointers.


Reply via email to