[ruby-cvs:54700] normal:r47552 (trunk): vm.c (env_alloc): inline to avoid extra zeroing

normal at ruby-lang.org normal at ruby-lang.org
Fri Sep 12 18:22:19 JST 2014


normal	2014-09-12 18:22:18 +0900 (Fri, 12 Sep 2014)

  New Revision: 47552

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

  Log:
    vm.c (env_alloc): inline to avoid extra zeroing
    
    tiny speedup [ruby-core:64980]
    
    benchmark results:
    Execution time (sec)
    name    trunk   built
    app_lc_fizzbuzz 100.411 98.692
    
    Speedup ratio: compare with the result of `trunk' (greater is better)
    name    built
    app_lc_fizzbuzz 1.017
    
    rb_proc_alloc changes will give more

  Modified files:
    trunk/ChangeLog
    trunk/vm.c


More information about the ruby-cvs mailing list