From d0fbdb005cecd8513aeacb234365d71f9a9b521e Mon Sep 17 00:00:00 2001 From: naruse Date: Mon, 2 May 2016 12:04:04 +0000 Subject: * re.c (str_coderange): to avoid function call when the string already has coderange information. * re.c (rb_reg_prepare_enc): add shortcut path when the regexp has the same encoding of given string. * re.c (rb_reg_prepare_re): avoid duplicated allocation of onig_errmsg_buffer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 28d738f543..5e23371453 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +Mon May 2 20:59:21 2016 NARUSE, Yui + + * re.c (str_coderange): to avoid function call when the string already + has coderange information. + + * re.c (rb_reg_prepare_enc): add shortcut path when the regexp has + the same encoding of given string. + + * re.c (rb_reg_prepare_re): avoid duplicated allocation of + onig_errmsg_buffer. + + Mon May 2 12:34:52 2016 Tanaka Akira * test/ruby/test_refinement.rb (test_inspect): Use Integer instead of -- cgit v1.2.3