[ruby-cvs:49988] nobu:r42846 (trunk): string.c: reduce objects in rb_fstring

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Sep 5 17:25:58 JST 2013


nobu	2013-09-05 17:25:56 +0900 (Thu, 05 Sep 2013)

  New Revision: 42846

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

  Log:
    string.c: reduce objects in rb_fstring
    
    * string.c (rb_fstring, rb_str_free): use st_data_t instead of VALUE.
    * string.c (rb_fstring): get rid of duplicating already frozen object.
    * parse.y (str_suffix_gen): freeze in advance to reduce objects.

  Modified files:
    trunk/ChangeLog
    trunk/parse.y
    trunk/string.c


More information about the ruby-cvs mailing list