Re: PDL-P: Re: Hooks for array notation (was Re: Ramblings on "baseclass" for SV etc.)

2000-08-09 Thread Karl Glazebrook
Dan Sugalski wrote: > > At 11:27 PM 8/9/00 +1000, Jeremy Howard wrote: > >5- Compact array storage: RFC still coming > > I hope this RFC will be "Arrays should be sparse when possible, and > compact" and just about nothing else. :) > Why?

Re: PDL-P: Re: Hooks for array notation (was Re: Ramblings on"baseclass" for SV etc.)

2000-08-11 Thread Karl Glazebrook
Dan Sugalski wrote: > > At 07:57 AM 8/11/00 +1000, Jeremy Howard wrote: > >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

Re: PDL-P: Re: Hooks for array notation (was Re: Ramblingson"baseclass" for SV etc.)

2000-08-11 Thread Karl Glazebrook
Dan Sugalski wrote: > > I'm thinking instead of proposing that lists become first-class data > elements themselves, lazily evaluated. That way we don't flatten until > someone actually references the list, which makes returns cheaper too. In > this case we'd push two array markers on the stack, s

Re: PDL-P: Re: Hooks for array notation (was Re:Ramblingson"baseclass" for SV etc.)

2000-08-11 Thread Karl Glazebrook
ot; Note this is purely my idea - some PDL people like it. But's I am deliberately NOT tieing it to PDL. Karl =head1 TITLE Queen of Hearts proposal for variables in Perl. =head1 VERSION Maintainer: Karl Glazebrook <[EMAIL PROTECTED]> Date: 8 August 2000 Version: 1.00 Mailing