[ruby-cvs:65519] mrkn:r58347 (trunk): Improve performance of type conversion using to_r

mrkn at ruby-lang.org mrkn at ruby-lang.org
Fri Apr 14 14:19:12 JST 2017


mrkn	2017-04-14 14:19:12 +0900 (Fri, 14 Apr 2017)

  New Revision: 58347

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

  Log:
    Improve performance of type conversion using to_r
    
    * object.c: Add to_r in conv_method_tbl.
    
    * defs/id.def: add to_r.
    
    * benchmark/bm_int_quo.rb: added.
    
    * benchmark/bm_time_subsec.rb: added.
    
    [Bug #13426]
    [ruby-core:80665]
    [Fix GH-1582]

  Added files:
    trunk/benchmark/bm_int_quo.rb
    trunk/benchmark/bm_time_subsec.rb
  Modified files:
    trunk/defs/id.def
    trunk/object.c


More information about the ruby-cvs mailing list