summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2022-09-26 11:39:36 -0400
committerPeter Zhu <peter@peterzhu.ca>2022-09-26 14:54:32 -0400
commitaa2a428cfb3f4273f51358eb4e7fab235c7d36c2 (patch)
tree620e0c6ebd12428d2bee57c733e99c9bd82c1af4 /vm_insnhelper.c
parent830b5b5c351c5c6efa5ad461ae4ec5085e5f0275 (diff)
Refactor str_substr and str_subseq
This commit extracts common code between str_substr and rb_str_subseq into a function called str_subseq. This commit also applies optimizations in commit 2e88bca to rb_str_subseq.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6447
Diffstat (limited to 'vm_insnhelper.c')
0 files changed, 0 insertions, 0 deletions