summaryrefslogtreecommitdiff
path: root/tool/runruby.rb
diff options
context:
space:
mode:
authorSamuel Giddins <[email protected]>2023-11-27 16:01:51 -0600
committergit <[email protected]>2023-11-29 21:28:46 +0000
commit2927c280950924c0aaa6c1a5805b2978b177809e ()
tree41090a36a74303297f4c40a51c6b96720a28fade /tool/runruby.rb
parent8234763816eecd42da3b5e893cd236b64e6fc0fb (diff)
[rubygems/rubygems] Avoid re-compiling static regexp in a loop
Pathname::SEPARATOR_PAT is a constant and can safely be interpolated once, avoiding creating a new regexp object on every iteration https://.com/rubygems/rubygems/commit/75d9c0f1e4
0 files changed, 0 insertions, 0 deletions