[ruby-cvs:62372] nobu:r55209 (trunk): string.c: get rid of unnecessary empty string

nobu at ruby-lang.org nobu at ruby-lang.org
Mon May 30 14:50:28 JST 2016


nobu	2016-05-30 14:50:27 +0900 (Mon, 30 May 2016)

  New Revision: 55209

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

  Log:
    string.c: get rid of unnecessary empty string
    
    * string.c (str_substr, rb_str_aref): refactor not to create
      unnecessary empty string.
    * string.c (str_byte_substr, str_byte_aref): ditto.

  Modified files:
    trunk/ChangeLog
    trunk/string.c


More information about the ruby-cvs mailing list