From 04d026a7a7ce04b27730b92900d0660f91918bfc Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 25 May 2009 00:43:23 +0000 Subject: * string.c (rb_str_hash): avoid calling rb_enc_str_asciionly_p(). * string.c (rb_str_replace): avoid redundant calling rb_str_new4(). * string.c (str_replace): factor out replacement from rb_str_replace() without type check nor discarding the destination contents. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index b5ce069c1..435871893 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +Mon May 25 09:34:09 2009 Yukihiro Matsumoto + + * string.c (rb_str_hash): avoid calling rb_enc_str_asciionly_p(). + + * string.c (rb_str_replace): avoid redundant calling rb_str_new4(). + + * string.c (str_replace): factor out replacement from + rb_str_replace() without type check nor discarding the + destination contents. + Mon May 25 08:06:52 2009 Nobuyoshi Nakada * string.c (rb_str_partition): should use the converted result. a -- cgit