[ruby-cvs:59540] ko1:r52389 (trunk): * gc.c (newobj_slowpath): reduce 1 parameter to use only registers

ko1 at ruby-lang.org ko1 at ruby-lang.org
Fri Oct 30 18:33:10 JST 2015


ko1	2015-10-30 18:33:08 +0900 (Fri, 30 Oct 2015)

  New Revision: 52389

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52389

  Log:
    * gc.c (newobj_slowpath): reduce 1 parameter to use only registers
      for performance.
    
      On my laptop, 'N.times{x = []}' (where N = 29_000_000) is
      1.86 sec -> 1.74 sec.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c


More information about the ruby-cvs mailing list