[ruby-cvs:60174] normal:r53021 (trunk): compile.c (iseq_compile_each): reduce needless rb_str_dup

normal at ruby-lang.org normal at ruby-lang.org
Thu Dec 10 11:35:24 JST 2015


normal	2015-12-10 11:35:22 +0900 (Thu, 10 Dec 2015)

  New Revision: 53021

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

  Log:
    compile.c (iseq_compile_each): reduce needless rb_str_dup
    
    There is no need to dup the fstring unless we want to set the
    debug ivar for it.
    
    [ruby-core:72018] <5668DB6E.8000101 at ruby-lang.org>

  Modified files:
    trunk/ChangeLog
    trunk/compile.c


More information about the ruby-cvs mailing list