summaryrefslogtreecommitdiff
path: root/lib/resolv-replace.rb
diff options
context:
space:
mode:
authorSamuel Giddins <[email protected]>2023-11-27 16:06:27 -0600
committergit <[email protected]>2023-12-01 19:50:03 +0000
commit0ed55bf09713299201caec3ba9d9ef7ba6e8526f (patch)
tree4235b408a02137787a6af425b6695a965f1fe8f2 /lib/resolv-replace.rb
parenta607d62d8c5786087916413c369dbde0c62db573 (diff)
[rubygems/rubygems] Reduce array allocations when loading definition
The same array was being re-created in a loop (as well as the `generic_local_platform`), which is avoidable by hoisting it to a frozen array created once https://github.com/rubygems/rubygems/commit/009a3c6d0d
Diffstat (limited to 'lib/resolv-replace.rb')
0 files changed, 0 insertions, 0 deletions