diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2016-10-30 09:25:32 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2016-12-04 07:39:25 -0800 |
commit | a456d898bb5d81a5e33705bfe2d476af8d4fee98 (patch) | |
tree | d2f0f998314fef139c0f101baf5b6e58e83853d7 /zlib.map | |
parent | 03614c56ad299f9b238c75aa1e66f0c08fc4fc8b (diff) | |
download | zlib-a456d898bb5d81a5e33705bfe2d476af8d4fee98.tar.gz zlib-a456d898bb5d81a5e33705bfe2d476af8d4fee98.tar.bz2 zlib-a456d898bb5d81a5e33705bfe2d476af8d4fee98.zip |
Use memcpy for stored blocks.
This speeds up level 0 by about a factor of three, as compared to
the previous byte-at-a-time loop. We can do much better though. A
later commit avoids this copy for level 0 with large buffers,
instead copying directly from the input to the output. This commit
still speeds up storing incompressible data found when compressing
normally.
Diffstat (limited to 'zlib.map')
0 files changed, 0 insertions, 0 deletions