Hi --

On Sat, 14 Feb 2009, Rick DeNatale wrote:

> Sometime after that discussion, Matz, who I know has much more than a basic
> understanding of hash-tables, decided that, yes,
> defining the iteration order of Ruby hashes to  be by insertion order, and
> that this was easily done with minimal impact to performance/space
> requirements by linking buckets in the internal hash table used to IMPLEMENT
> Hash, and made this change in Ruby 1.9, which has been backported to Ruby
> 1.8.7.

Hashes aren't ordered in 1.8.7, though.


David

-- 
David A. Black / Ruby Power and Light, LLC
Ruby/Rails consulting & training: http://www.rubypal.com
Coming in 2009: The Well-Grounded Rubyist (http://manning.com/black2)

http://www.wishsight.com => Independent, social wishlist management!