Project

General

Profile

Actions

Bug #4478

closed

hash order preservation fails on 64bit machine

Added by JWuttke (Joachim Wuttke) over 13 years ago. Updated over 13 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
1.9.0
Backport:
[ruby-core:35447]

Description

=begin
On a 32bit machine:

~$ uname -r
2.6.32-5-686
~$ ruby1.9 -e "x={};x[:a]=1;x[:b]=2;p x"
{:a=>1, :b=>2} # as it should

On a 64bit machine:
~$ uname -r
2.6.24-etchnhalf.1-amd64
~$ ruby1.9 -e "x={};x[:a]=1;x[:b]=2;p x"
{:b=>2, :a=>1} # failure

=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0