From 377eb14a9f5670e69612d66f3eeb06bf9b48a0ad Mon Sep 17 00:00:00 2001 From: matz Date: Tue, 16 Sep 2008 00:47:20 +0000 Subject: * string.c (): * string.c (): * string.c (single_byte_optimizable): make function inline. based on a patch from Michael Selig in [ruby-core:18532]. * string.c (str_modify_keep_cr): new function act as rb_str_modify(), but don't clear coderange * string.c (rb_str_casecmp): specialized for single byte strings. * string.c (rb_str_splice): preserve coderange. * string.c (rb_str_slice_bang, rb_str_reverse_bang, rb_str_upcase_bang, rb_str_downcase_bang, tr_trans, rb_str_capitalize_bang, rb_str_swapcase_bang, rb_str_delete_bang, rb_str_chop_bang, rb_str_chomp_bang, rb_str_lstrip_bang, rb_str_rstrip_bang): ditto. * string.c (rb_str_clear): preset coderange. * string.c (rb_str_split_m): specialized for splitting with a string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index ac0dd61c06..1f8ace1aac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18,6 +18,38 @@ Tue Sep 16 02:02:56 2008 NARUSE, Yui * string.c (prefix_escape): ditto. +Tue Sep 16 01:50:21 2008 Yukihiro Matsumoto + + * string.c (): + +Tue Sep 16 01:49:44 2008 Yukihiro Matsumoto + + * string.c (): + +Tue Sep 16 01:47:07 2008 Yukihiro Matsumoto + + * string.c (single_byte_optimizable): make function inline. based + on a patch from Michael Selig in + [ruby-core:18532]. + + * string.c (str_modify_keep_cr): new function act as + rb_str_modify(), but don't clear coderange + + * string.c (rb_str_casecmp): specialized for single byte strings. + + * string.c (rb_str_splice): preserve coderange. + + * string.c (rb_str_slice_bang, rb_str_reverse_bang, + rb_str_upcase_bang, rb_str_downcase_bang, tr_trans, + rb_str_capitalize_bang, rb_str_swapcase_bang, + rb_str_delete_bang, rb_str_chop_bang, rb_str_chomp_bang, + rb_str_lstrip_bang, rb_str_rstrip_bang): ditto. + + * string.c (rb_str_clear): preset coderange. + + * string.c (rb_str_split_m): specialized for splitting with a + string. + Tue Sep 16 00:57:56 2008 Tanaka Akira * re.c (rb_reg_quote): use rb_enc_mbcput to generate ASCII -- cgit v1.2.3