[ruby-cvs:53557] nobu:r46411 (trunk): string.c: shrink before freezing

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Jun 12 13:28:17 JST 2014


nobu	2014-06-12 13:28:16 +0900 (Thu, 12 Jun 2014)

  New Revision: 46411

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

  Log:
    string.c: shrink before freezing
    
    * string.c (rb_str_freeze): shrink the buffer before freezing, as
      pointed out by Eric Wong at [ruby-core:63119].

  Modified files:
    trunk/ChangeLog
    trunk/string.c


More information about the ruby-cvs mailing list