Project

General

Profile

« Previous | Next » 

Revision 6fb2ec53

Added by ko1 (Koichi Sasada) over 8 years ago

  • 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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e