[MacRuby] #791: Array#hash is broken.

MacRuby ruby-noreply at macosforge.org
Thu Dec 16 20:02:30 PST 2010


#791: Array#hash is broken.
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:  MacRuby 1.0          
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------

Comment(by lsansonetti@…):

 Why it can be a problem:

 {{{
 $ time ./miniruby -e "h={}; 10000.times { |i| h[[1,i,2]]=1 }"

 real    0m2.482s
 user    0m2.460s
 sys     0m0.017s
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/791#comment:5>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list