At 01:47 PM 8/30/00 -0400, Karl Glazebrook wrote:
> > If you do a plain
> >
> > my int @foo;
> >
> > it'll end up with a contiguous block of memory anyway. :compact seems to
> > me more an attribute for sparse arrays than anything else.
> >
>
>Uhm do you mean a contiguous block of 4 byte integers or a countiguous
>block of perl scalar structures? It is the former we are after.
The former, at least until you do something that requires the array to hold
things other than ints. Perl is supposed to, at that point, automagically
upgrade the array to full scalars, or at least something that can handle
the type being assigned to it. (Or so is my understanding of what Larry
wants for 'shortcut types' like int, float, or str)
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk
- Re: New variable type: matrix Baris
- Re: New variable type: matrix Christian Soeller
- Re: New variable type: matrix Dan Sugalski
- Re: New variable type: matrix Karl Glazebrook
- Re: New variable type: matrix Jeremy Howard
- Re: New variable type: matrix Christian Soeller
- Re: New variable type: matrix Jeremy Howard
- Re: New variable type: matrix Dan Sugalski
- Re: New variable type: matrix Jeremy Howard
- Re: New variable type: matrix Karl Glazebrook
- Re: New variable type: matrix Dan Sugalski
- Re: New variable type: matrix Karl Glazebrook
- Re: New variable type: matrix Jeremy Howard
- Re: New variable type: matrix Buddha Buck
- Re: New variable type: matrix Jeremy Howard
- Re: New variable type: matrix Nathan Wiger
- drop type indicators for typed variables David L. Nicol
- Re: drop type indicators for typed variables Christian Soeller
- Re: New variable type: matrix Chaim Frenkel
- Re: New variable type: matrix Christian Soeller
- Ensuring efficiency (was Re: New variable type:... Jeremy Howard
