[ruby-cvs:65247] normal:r58076 (trunk): logger: remove redundant opt_str_freeze use

normal at ruby-lang.org normal at ruby-lang.org
Fri Mar 24 16:29:33 JST 2017


normal	2017-03-24 16:29:33 +0900 (Fri, 24 Mar 2017)

  New Revision: 58076

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

  Log:
    logger: remove redundant opt_str_freeze use
    
    Strings in "when" statements are allocation-free, so there's
    never any reason to uglify the code to use opt_str_freeze over
    the normal putobject instructions, here.

  Modified files:
    trunk/lib/logger.rb


More information about the ruby-cvs mailing list