[ruby-cvs:72616] k0kubun:r65516 (trunk): Always inline rb_to_integer to prevent a method call penalty

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Sat Nov 3 21:24:49 JST 2018


k0kubun	2018-11-03 21:24:49 +0900 (Sat, 03 Nov 2018)

  New Revision: 65516

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

  Log:
    Always inline rb_to_integer to prevent a method call penalty
    
    for integer types
    
    Close https://github.com/ruby/ruby/pull/2001
    
    Co-Authored-By: methodmissing <lourens at methodmissing.com>

  Modified files:
    trunk/object.c


More information about the ruby-cvs mailing list