summaryrefslogtreecommitdiff
path: root/include/ruby/internal
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-06-09 16:10:30 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-06-09 20:22:30 +0900
commitab6eb3786c94e69c561080cbb796c2381702a3a4 (patch)
tree2fe551edd62566939a7760439851fd7ad90b2d13 /include/ruby/internal
parentd54f66d1b4ce32d78b526b1ea9e3f213a763d07c (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 'include/ruby/internal')
0 files changed, 0 insertions, 0 deletions