From: Michael Campbell Date: 2002-07-16T02:40:39+09:00 Subject: Re: hey! where's #count? (clearing up degeneration) > C> Be careful with that assumption. I believe that as a hash > expands it > C> occasionally needs to re-hash it's keys, and that would alter > the order. > C> I don't know that Ruby's hash works that way, but most of the > ones I've > C> encountered do. > > See [ruby-talk:44548] and [ruby-talk:12151], there is > > "(if you don't modify the hash)" It's probably a semantic argument at this point and what is working for you seems to work for you, but I'd would NOT call a data structure which maintains an order with no relationship to the order that the items were inserted, and can (and will!) change its order whenever its contents are changed "ordered". But again, that's me. ===== -- Use your computer to help find a cure for cancer: http://members.ud.com/projects/cancer/ Yahoo IM: michael_s_campbell __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com