summaryrefslogtreecommitdiff
path: root/test/ruby/test_lambda.rb
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2025-09-12 16:29:51 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-09-16 17:17:32 +0900
commita71b339477a291a93fc9f83266eaad3423df6acc (patch)
tree68e133c3d15f61ceb7c7caffc05a055ac192bf28 /test/ruby/test_lambda.rb
parentca9c0f91311e01625e10272798ff2cc831bbee60 (diff)
[rubygems/rubygems] Pass the file size to IO.copy_stream
When extracting tar files, the tar header actually knows the exact size of the file we need to extract. Before this commit, we would read the file from the tar file until it returned `nil`. We can be a little more efficient when copying by passing the size to copy_stream https://github.com/rubygems/rubygems/commit/8927533b0a
Diffstat (limited to 'test/ruby/test_lambda.rb')
0 files changed, 0 insertions, 0 deletions