On Sat, Jul 16, 2011 at 9:34 AM, Oren Shani <orenshani7 / gmail.com> wrote:
> I created a class called, HashArray which implements a pretty
> straightforward Hash with order object. Content can be added, deleted,
> reordered, etc, and then there is the as_array method that enables using
> the object as an array.

I'm curious how you manage to keep the data structure ordered and keep
access time O(1).  It surely is O(1) since it's called _Hash_Array,
isn't it?

Kind regards

robert

-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/