[ruby-cvs:55427] nobu:r48277 (trunk): string.c: reduce memory copy

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Nov 5 12:13:56 JST 2014


nobu	2014-11-05 12:13:55 +0900 (Wed, 05 Nov 2014)

  New Revision: 48277

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

  Log:
    string.c: reduce memory copy
    
    * string.c (rb_str_lstrip, rb_str_strip): reduce memory copy by
      copying necessary part only.
    * string.c (rb_str_strip_bang, rb_str_strip): ditto.

  Modified files:
    trunk/ChangeLog
    trunk/string.c


More information about the ruby-cvs mailing list