summaryrefslogtreecommitdiff
path: root/dir.rb
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 /dir.rb
parent830b5b5c351c5c6efa5ad461ae4ec5085e5f0275 (diff)
downloadruby-aa2a428cfb3f4273f51358eb4e7fab235c7d36c2.tar.gz
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.
Diffstat (limited to 'dir.rb')
0 files changed, 0 insertions, 0 deletions