From: Hal Fulton Date: 2006-08-22T07:57:14+09:00 Subject: Re: Why Does Hash Apparently Reorder Its Internal Representation And Other Associated Ponderings Phrogz wrote: > Austin Ziegler wrote: > >>PHP's "array" is an associative array allowing "hash"-like handling >>with an ordered iteration. That's probably the source of 99% of the >>reasons that people want it. > > > And, for what it's worth, JavaScript's Object primitive is also an > associative array that retains insertion order for iterating keys, > while exhibiting performance characteristics of a hash. > I find that interesting, since so many appear convinced that a so-called ordered hash would be "too slow." Do you know anything about the internal implementation? Hal