From: Austin Ziegler Date: 2006-08-22T04:37:45+09:00 Subject: Re: Why Does Hash Apparently Reorder Its Internal Representation And Other Associated Ponderings On 8/21/06, Bil Kleb wrote: > William James wrote: > > > > Did you try association lists? > Sort of, but I liked the interface of Hash too much > to abandon it. So far, I am carrying along an array > of keys in order of creation for the one place that > I need it. Otherwise, I have the beauty of the stock > Hash interface at my disposal. Indeed. There is a legitimate use case of having both fast random access on an arbitrary object (in my case a Page object) and insertion ordered processing when iterating. Speed is an issue for me, but I think people are trying to prematurely optimize. Where PDF::Writer is slow, it is not because of an ordered hash. -austin -- Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/ * austin@halostatue.ca * http://www.halostatue.ca/feed/ * austin@zieglers.ca