diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2023-12-20 18:30:06 -0800 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2024-05-14 21:44:34 +0000 |
commit | e33336cb37b47834c0448921c6c4942e3fa63996 (patch) | |
tree | 09e539fd07a5995320f7edaff3ddd0d03e16a991 /ext/dl/callback/extconf.rb | |
parent | cb1a574e46f38b9598e98a2648969ac818cf2aa0 (diff) |
[ruby/zlib] Avoid allocating intermediary strings when read/readpartial are passed an outbuf
This accounts for a significant number of string allocations when reading rubygems, but we can avoid that in many places by only copying into the outbuf when present
https://github.com/ruby/zlib/commit/d25ef406c1
Diffstat (limited to 'ext/dl/callback/extconf.rb')
0 files changed, 0 insertions, 0 deletions