[ruby-cvs:69569] k0kubun:r62388 (trunk): vm_insnhelper.c: inline array aref with integer

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Tue Feb 13 00:25:58 JST 2018


k0kubun	2018-02-13 00:25:58 +0900 (Tue, 13 Feb 2018)

  New Revision: 62388

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

  Log:
    vm_insnhelper.c: inline array aref with integer
    
    internal.h: define inlinable rb_ary_entry_internal.
    
    array.c: use rb_ary_entry_internal.
    
    * Benchmark
    ruby --jit mame/optcarrot/bin/optcarrot --benchmark mame/optcarrot/examples/Lan_Master.nes
    
    ** Before
    
    checksum: 59662
    fps: 58.095175012159686
    
    ** After
    
    fps: 59.874751599221526
    checksum: 59662

  Modified files:
    trunk/array.c
    trunk/internal.h
    trunk/vm_insnhelper.c


More information about the ruby-cvs mailing list