aboutsummaryrefslogtreecommitdiffstats
path: root/test
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
commit6853ccd90740de73484052877d396e7e10501f7e (patch)
tree2917a8626bbff3fc8a3162334b534df625546fc0 /test
parent76a28bcd9a381ed9d9866df5ce296755860b69e5 (diff)
downloadruby-6853ccd90740de73484052877d396e7e10501f7e.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')
0 files changed, 0 insertions, 0 deletions