summaryrefslogtreecommitdiff
path: root/test/ruby/test_transcode.rb
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2025-11-17 16:38:46 -0500
committergit <svn-admin@ruby-lang.org>2026-02-09 05:49:09 +0000
commit1b342ad9b89a425b16102e81667256c2c2bff258 (patch)
tree6fc36caba0d30d7b91715a9c8031c94bd3825619 /test/ruby/test_transcode.rb
parent510ebbdf6e59db83337da66b62201816707db374 (diff)
[ruby/rubygems] Remove `verify_gz`
This PR removes the `#verify_gz` method because it is redunant and unnecessary. Previously the `data.tar.gz` would get read twice for every file - once in `verify_gz` and once in `extract_files`. The `extract_files` method verifies the `data.tar.gz` when it reads it, and raises an error if unzipping it fails. The `verify_gz` code can be seen in some profiles as a hotspot - although not major - as it accounts for between 9% and 17% of time, but only when the installation thread doesn't have native extensions or plugins. https://github.com/ruby/rubygems/commit/737c82986c
Diffstat (limited to 'test/ruby/test_transcode.rb')
0 files changed, 0 insertions, 0 deletions