#290: Hashes do NOT stay ordered -----------------------------------+---------------------------------------- Reporter: martin.ploeger@… | Owner: eloy.de.enige@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: Hash order -----------------------------------+---------------------------------------- Changes (by eloy.de.enige@…): * owner: lsansonetti@… => eloy.de.enige@… Comment: Replying to [comment:3 conradwt@…]:
ActiveSupport implementation of Hash is probably activated when using Ruby < 1.9.1 because it's in Ruby 1.9.1. With that said, I would take a look at the C implementation of Hash located here:
http://redmine.ruby-lang.org/repositories/entry/ruby-191/hash.c
By porting OrderedHash, I meant we could port it to our CF implementation. Not to use the ruby version of itself :) It should contain all the necessary tweaks needed to support ordering. I might have a stab at this at some point. -- Ticket URL: <http://www.macruby.org/trac/ticket/290#comment:6> MacRuby <http://macruby.org/>