Stephen P. Potter wrote: > Lightning flashed, thunder crashed and John Porter <[EMAIL PROTECTED]> whispered > : > | Here's a counter-proposal: throw out hashes as a separate internal > | data type, and in its place define a set of operators which treat > | (properly constructed) arrays as associative arrays. It's the > > Doesn't it make more sense to get rid of arrays and just use hashes? > No, neither proposal makes sense. Arrays can be stored compactly and accessed and iterated through quickly, because they can take advantage of the fact that they are always indexed by an integer. You could remove the array/list data type and rely on Perl to try and implement hashes indexed by integers as a list, but that would introduce a lot of complexity for little real benefit.
- Re: RFC 84 (v1) Replace => (stringifying... Nathan Torkington
- Re: RFC 84 (v1) Replace => (stringif... Kai Henningsen
- Re: RFC 84 (v1) Replace => (stringifying... Damien Neil
- Re: RFC 84 (v1) Replace => (stringif... Russ Allbery
- Re: RFC 84 (v1) Replace => (stringif... Stephen P. Potter
- Re: RFC 84 (v1) Replace => (stringif... Ariel Scolnicov
- Re: RFC 84 (v1) Replace => (stringif... Russ Allbery
- Re: RFC 84 (v1) Replace => (stringif... Uri Guttman
- Re: RFC 84 (v1) Replace => (stringifying... Dan Sugalski
- Re: RFC 84 (v1) Replace => (stringifying... John Porter
- Re: RFC 84 (v1) Replace => (stringifying comma) with ... Jeremy Howard
- Re: RFC 84 (v1) Replace => (stringifying comma) ... Jarkko Hietaniemi
- Array storage (was Re: RFC 84 (v1) Replace =>... Jeremy Howard
- Re: Array storage (was Re: RFC 84 (v1) Repl... Jarkko Hietaniemi
- Re: Array storage (was Re: RFC 84 (v1) ... Dan Sugalski
- Re: Array storage (was Re: RFC 84 (v1) ... Jeremy Howard
- Re: Array storage (was Re: RFC 84 (v1) Repl... Stephen P. Potter
- Re: Array storage (was Re: RFC 84 (v1) ... Jeremy Howard
- Re: RFC 84 (v1) Replace => (stringifying com... Peter Scott
- Re: RFC 84 (v1) Replace => (stringifying com... John Porter