[MacRuby] #1157: String#slice is an order of magnitude slower on MacRuby compared to 1.9.2-p136

MacRuby ruby-noreply at macosforge.org
Tue Feb 8 21:55:04 PST 2011


#1157: String#slice is an order of magnitude slower on MacRuby compared to
1.9.2-p136
------------------------------------+---------------------------------------
 Reporter:  mrada@…                 |       Owner:  lsansonetti@…        
     Type:  defect                  |      Status:  new                  
 Priority:  blocker                 |   Milestone:                       
Component:  MacRuby                 |    Keywords:                       
------------------------------------+---------------------------------------
 I was testing to see if it was faster it was faster to use #sub or #slice
 to get a substring, and during my benchmarking I found that MacRuby was at
 least an order of magnitude slower for for both of these methods.

 I have attached my benchmarks and a Numbers file with graphs.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1157>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list