From: Yukihiro Matsumoto Date: 2004-09-04T12:38:01+09:00 Subject: Re: Hashes and ordering Hi, In message "Re: Hashes and ordering" on Sat, 4 Sep 2004 11:33:04 +0900, Hal Fulton writes: |For example, does anyone depend on these hashes being |equal? | | x = {1=>2, 3=>4} | y = {3=>4, 1=>2} | x == y # => true Hash value orders (if any) should not affect equality check to honor tradition, I think. |Or does anyone have code that depends in some other way |on the fact that the ordering in a hash is NOT predictable? Predictable order is a subset of unpredictable orders ;-) matz.