[ruby-cvs:78258] f6239ce0fc (master): peep-hole optimize VM instructions

Unknown <[email protected]>
Newsgroups gmane.comp.lang.ruby.cvs
Message-ID <[email protected]>
卜部昌平	2019-11-19 13:16:04 +0900 (Tue, 19 Nov 2019)

  New Revision: f6239ce0fc

  https://github.com/ruby/ruby/commit/f6239ce0fc

  Log:
    peep-hole optimize VM instructions
    
    Some minor optimizations.
    
    Calculating -------------------------------------
                               ours       trunk
              vm2_regexp     8.479M      8.346M i/s -      6.000M times in 0.707612s 0.718916s
       vm2_regexp_invert     8.605M      8.350M i/s -      6.000M times in 0.697298s 0.718576s
    
    Comparison:
                           vm2_regexp
                    ours:   8479223.3 i/s
                   trunk:   8345893.8 i/s - 1.02x  slower
    
                    vm2_regexp_invert
                    ours:   8604647.4 i/s
                   trunk:   8349852.8 i/s - 1.03x  slower
    
    Calculating -------------------------------------
                               ours+jit   trunk+jit
    Optcarrot Lan_Master.nes     68.603      64.167 fps
    
    Comparison:
                 Optcarrot Lan_Master.nes
                    ours+jit:        68.6 fps
                   trunk+jit:        64.2 fps - 1.07x  slower

  Modified files:
    vm_insnhelper.c
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.