diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-02 12:04:04 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-02 12:04:04 +0000 |
commit | 6853ccd90740de73484052877d396e7e10501f7e (patch) | |
tree | 2917a8626bbff3fc8a3162334b534df625546fc0 /benchmark/bm_vm2_regexp.rb | |
parent | 76a28bcd9a381ed9d9866df5ce296755860b69e5 (diff) | |
download | ruby-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 'benchmark/bm_vm2_regexp.rb')
0 files changed, 0 insertions, 0 deletions