[MacRuby] #1142: Array#pack performance while converting array of ASCII values to string

MacRuby ruby-noreply at macosforge.org
Mon Jan 31 15:43:34 PST 2011


#1142: Array#pack performance while converting array of ASCII values to string
------------------------------------------+---------------------------------
 Reporter:  justin@…                      |        Owner:  lsansonetti@…        
     Type:  defect                        |       Status:  closed               
 Priority:  major                         |    Milestone:  MacRuby 0.9          
Component:  MacRuby                       |   Resolution:  fixed                
 Keywords:                                |  
------------------------------------------+---------------------------------
Changes (by lsansonetti@…):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  MacRuby 1.0 => MacRuby 0.9


Comment:

 It was the same problem as #1136. I fixed in r5216 all the cases of
 Array#pack to pre-allocate the result byte string, except 'w' (BER
 compressed integer). That one might be harder to fix, and I suspect it's
 not used a lot.

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



More information about the macruby-tickets mailing list