From ab93d8c7dddfb74f01d5ed9925adbe13047cdc8e Mon Sep 17 00:00:00 2001 From: ko1 Date: Wed, 9 Dec 2015 17:02:02 +0000 Subject: * 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 --- NEWS | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 597818d99b..eccd1be06c 100644 --- a/NEWS +++ b/NEWS @@ -19,10 +19,9 @@ with all sufficient information, see the ChangeLog file. [Feature #8976] * besides, --enable/--disable=frozen-string-literal options also have been introduced. [Feature #8976] - * command line option --debug or --debug=frozen-string-literal enable + * command line options --debug or --debug=frozen-string-literal enable additional debugging mode which shows created location with at frozen - object error (RuntimeError) even if string is dynamically created string - literal (for static string literals shows locations as default). + object error (RuntimeError). [Feature #11725] * safe navigation operator: -- cgit v1.2.3