diff options
author | Dan Gudmundsson <[email protected]> | 2015-08-21 13:13:17 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2015-08-24 11:45:20 +0200 |
commit | 02abeffc9d753b5fcd1ce7da93f437887f574bad (patch) | |
tree | 8e100be76c908a98219dedd321e6e4eac26c7e3e /lib/ssh/src/ssh.hrl | |
parent | e0aad557854cf7d24ead9db62d4aaa1927b221c7 (diff) | |
download | otp-02abeffc9d753b5fcd1ce7da93f437887f574bad.tar.gz otp-02abeffc9d753b5fcd1ce7da93f437887f574bad.tar.bz2 otp-02abeffc9d753b5fcd1ce7da93f437887f574bad.zip |
Optimize zip:unzip/2 when uncompressing to memory
Optimize the case where we are appending to the end of the binary, use
binary syntax to create binaries with room for expansion in the next
loop, instead of using iolist_to_binary which creates a binary of the
exact size and needs to be copied in each loop.
Also remove support the unused Acc as iolists.
Diffstat (limited to 'lib/ssh/src/ssh.hrl')
0 files changed, 0 insertions, 0 deletions