From: Austin Ziegler Date: 2004-12-03T02:35:42+09:00 Subject: Re: ordered hash ? On Fri, 3 Dec 2004 02:16:17 +0900, Brian Schr�der wrote: > Why is everybody in this thread so fixed on using array and hash. > As I see it the requirements are: > > insert(k1, k2, value) > delete_by_k1(k1, value) > delete_by_k2(k2, value) > get_by_k1(k1) > get_by_k2(k2) > each_by_k1 Actually, my needs are: insert(key, value) delete(key) get(key) each_by_insertion_order I don't want to manage two sets of keys. Basically, I need to be able to manipulate a number of objects on the page queue, but they have to be rendered in the order inserted. I handle other issues through transaction support via Transaction::Simple. -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca