summaryrefslogtreecommitdiff
path: root/lib/common/compress.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-05-23 05:03:26 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-05-23 05:03:26 +0200
commit0ffda020899f36e17e74a9cb2019066d753bddc2 (patch)
tree83254d2725803c731fe25a2a59aa849d33e60265 /lib/common/compress.c
parentf2c487470dbfe3cf56f20b9899d5586ebcbefcc7 (diff)
block processor: don't zero initialize the block payload area
In the block processor, the payload area is only accessed up to the indicated size. Even the part that is accessed is initialized by copying data into the block before increasing the size, so there is no real point in zero-initializing hundres of kilobytes if not megabytes of payload area, especially since this is done in the locked, serial path of the block processor. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/common/compress.c')
0 files changed, 0 insertions, 0 deletions