From a056098cb719312452eca309bec914406f9e5ca3 Mon Sep 17 00:00:00 2001 From: charliesome Date: Mon, 2 Sep 2013 07:11:41 +0000 Subject: * NEWS: Add note about frozen string literals * compile.c (case_when_optimizable_literal): optimize NODE_LIT strings in when clauses of case statements * ext/ripper/eventids2.c: add tSTRING_SUFFIX * parse.y: add 'f' suffix on string literals for frozen strings * test/ripper/test_scanner_events.rb: add scanner tests * test/ruby/test_string.rb: add frozen string tests [Feature #8579] [ruby-core:55699] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- NEWS | 2 ++ 1 file changed, 2 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 3f1ba30aea..5d142f1a7f 100644 --- a/NEWS +++ b/NEWS @@ -24,6 +24,8 @@ with all sufficient information, see the ChangeLog file. * def-expr now returns the symbol of its name instead of nil. +* Added 'f' suffix for string literals that returns a frozen String object. + === Core classes updates (outstanding ones only) * Bignum -- cgit v1.2.3