diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-06-09 16:10:30 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-06-09 20:22:30 +0900 |
| commit | ab6eb3786c94e69c561080cbb796c2381702a3a4 (patch) | |
| tree | 2fe551edd62566939a7760439851fd7ad90b2d13 /lib | |
| parent | d54f66d1b4ce32d78b526b1ea9e3f213a763d07c (diff) | |
Optimize `Regexp#dup` and `Regexp.new(/RE/)`
When copying from another regexp, copy already built `regex_t` instead
of re-compiling its source.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7922
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
