aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2014-05-25 21:45:56 +0300
committerLasse Collin <lasse.collin@tukaani.org>2014-05-25 21:45:56 +0300
commitda1718f266fcfc091e7bf08aae1bc986d0e6cc6b (patch)
tree343d14494eca3d36aa91782d78227cc6eceafc4f /ChangeLog
parentliblzma: Add the internal function lzma_alloc_zero(). (diff)
downloadxz-da1718f266fcfc091e7bf08aae1bc986d0e6cc6b.tar.xz
liblzma: Use lzma_alloc_zero() in LZ encoder initialization.
This avoids a memzero() call for a newly-allocated memory, which can be expensive when encoding small streams with an over-sized dictionary. To avoid using lzma_alloc_zero() for memory that doesn't need to be zeroed, lzma_mf.son is now allocated separately, which requires handling it separately in normalize() too. Thanks to Vincenzo Innocente for reporting the problem.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions