[*] Adjust comedically small compression chunk buffer size. I guess 64k for a compressor isn't so bad. I'm under the impression all compression libs buffer internally such that the external stream buffer does not matter - maybe this is overkill.
This commit is contained in:
parent
cdb10eb3c6
commit
57d31e0212
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
namespace Aurora::Compression
|
namespace Aurora::Compression
|
||||||
{
|
{
|
||||||
static const AuUInt64 kChunkSize = 4096;
|
static const AuUInt64 kChunkSize = 32 * 1024;
|
||||||
|
|
||||||
/// * compression type + bits -> internal zlib windowBits
|
/// * compression type + bits -> internal zlib windowBits
|
||||||
static bool CompressionLevelFromExternalApi(const DecompressInfo &info, AuInt8 &out)
|
static bool CompressionLevelFromExternalApi(const DecompressInfo &info, AuInt8 &out)
|
||||||
|
Loading…
Reference in New Issue
Block a user