[ruby-cvs:51131] tmm1:r43986 (trunk): * string.c (fstr_update_callback): Improve implementation in r43968

tmm1 at ruby-lang.org tmm1 at ruby-lang.org
Wed Dec 4 13:05:15 JST 2013


tmm1	2013-12-04 13:05:13 +0900 (Wed, 04 Dec 2013)

  New Revision: 43986

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

  Log:
    * string.c (fstr_update_callback): Improve implementation in r43968
      based on feedback from @nagachika. In the existing case, we can
      return ST_STOP to prevent any hash modification. In the !existing
      case, set both key and value to the fstr.

  Modified files:
    trunk/ChangeLog
    trunk/string.c


More information about the ruby-cvs mailing list