[ruby-cvs:49915] charliesome:r42773 (trunk): * NEWS: Add note about frozen string literals

charliesome at ruby-lang.org charliesome at ruby-lang.org
Mon Sep 2 16:11:42 JST 2013


charliesome	2013-09-02 16:11:41 +0900 (Mon, 02 Sep 2013)

  New Revision: 42773

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

  Log:
    * 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]

  Modified files:
    trunk/ChangeLog
    trunk/NEWS
    trunk/compile.c
    trunk/ext/ripper/eventids2.c
    trunk/parse.y
    trunk/test/ripper/test_scanner_events.rb
    trunk/test/ruby/test_string.rb


More information about the ruby-cvs mailing list