[ruby-cvs:60162] ko1:r53009 (trunk): * compile.c (iseq_compile_each): do not add debug information

ko1 at ruby-lang.org ko1 at ruby-lang.org
Thu Dec 10 02:02:04 JST 2015


ko1	2015-12-10 02:02:02 +0900 (Thu, 10 Dec 2015)

  New Revision: 53009

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

  Log:
    * compile.c (iseq_compile_each): do not add debug information
      without --debug or --debug=frozen-string-literal option
      because String#dup slows down with debug information.
      [Feature #11725]
    
    * NEWS: apply about it.
    
    * test/ruby/test_rubyoptions.rb: catch up this fix with refactoring.

  Modified files:
    trunk/ChangeLog
    trunk/NEWS
    trunk/compile.c
    trunk/test/ruby/test_rubyoptions.rb


More information about the ruby-cvs mailing list