summaryrefslogtreecommitdiff
path: root/LEGAL
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-18 08:16:18 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-18 08:16:18 +0000
commita22232cd938a1d3df8f940463fb68700de124a19 (patch)
treef172f4f2adc8aa88d295af933e6c6a4c50a6ea20 /LEGAL
parentf705c52908eda1e9254e70fad5d0d39308066232 (diff)
zlib (rb_gzreader_getc): localize and return cbuf directly
No point in having a long-lived cbuf in "struct gzfile" since GZFILE_CBUF_CAPA is smaller than RSTRING_EMBED_LEN_MAX (even on 32-bit). We can also have rb_econv_convert write directly to the return value instead of an intermediate buffer. This brings "struct gzfile" from 264 to 256 bytes on 64-bit systems to avoid taking an additional cache line. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'LEGAL')
0 files changed, 0 insertions, 0 deletions