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... :) > > Dan And for the inexperinced, arrays that are more than half undef would transparently spring into existence as sparse if we had several options available for underlying pstrings, (i do not know what we currently use, but I think it is large blocks of contiguous memory) for instance a n-tree with variously size buckets, the system would not only make inline text substitutions possible without rewriting entire large blocks (things like s/Nixon/Eisenhower/g) but it could be used for sorted containers of all kinds. A sorted container would , would, would better be posted to the language list. -- David Nicol 816.235.1187 [EMAIL PROTECTED] :wq
- Re: PDL-P: Re: Hooks for array notation (was Re: Ramblin... Jeremy Howard
- Re: PDL-P: Re: Hooks for array notation (was Re: Ramblin... Dan Sugalski
- Re: PDL-P: Re: Hooks for array notation (was Re: Ramblin... Dan Sugalski
- Re: Hooks for array notation (was Re: Ramblings on "... Jeremy Howard
- Re: Hooks for array notation (was Re: Ramblings on "... Dan Sugalski
- Re: PDL-P: Re: Hooks for array notation (was Re: Ramblin... Karl Glazebrook
- Re: PDL-P: Re: Hooks for array notation (was Re: Ramblin... Dan Sugalski
- Re: PDL-P: Re: Hooks for array notation (was Re: Ramblin... Karl Glazebrook
- Re: PDL-P: Re: Hooks for array notation (was Re: Ramblin... Dan Sugalski
- Re: PDL-P: Re: Hooks for array notation (was Re:Rambling... Karl Glazebrook
- Re: sorted sparse containers (was Re: PDL-P: Re: Hooks f... David L. Nicol
- Re: sorted sparse containers (was Re: PDL-P: Re: Hooks f... Bryan C . Warnock
- Re: sorted sparse containers (was Re: PDL-P: Re: Hooks f... Dan Sugalski
- Re: Ramblings on "base class" for SV etc. Dan Sugalski
- vector and matrix calculations in core? (was: Re: Rambli... Bart Lateur
- Re: vector and matrix calculations in core? (was: Re: Ra... Dan Sugalski
- Re: vector and matrix calculations in core? (was: Re: Ra... Bart Lateur
- Re: vector and matrix calculations in core? (was: Re: Ra... Nick Ing-Simmons
- Re: Ramblings on "base class" for SV etc. Bryan C . Warnock
- Re: Ramblings on "base class" for SV etc. Dan Sugalski
- Method call optimization. Nick Ing-Simmons