aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-02 12:04:04 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-02 12:04:04 +0000
commitd0fbdb005cecd8513aeacb234365d71f9a9b521e (patch)
tree2917a8626bbff3fc8a3162334b534df625546fc0 /test/ruby
parent77a99fd4d5c84aff202a9c9799bb8e074d4e7196 (diff)
downloadruby-d0fbdb005cecd8513aeacb234365d71f9a9b521e.tar.gz
* 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
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions