mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Increase LZ4 compression acceleration value to 20
* This has minimal effect on compression ratio for a sample workload and a good improvement in compression speed.
This commit is contained in:
@@ -127,7 +127,7 @@ bool LZ4Compressor::FlushPage0()
|
||||
// m_PageOffset is the amount written, usually equal to lz4BlockSize except the last block.
|
||||
int32_t compSize =
|
||||
LZ4_compress_fast_continue(m_LZ4Comp, (const char *)m_Page[0], (char *)m_CompressBuffer,
|
||||
(int)m_PageOffset, (int)LZ4_COMPRESSBOUND(lz4BlockSize), 1);
|
||||
(int)m_PageOffset, (int)LZ4_COMPRESSBOUND(lz4BlockSize), 20);
|
||||
|
||||
if(compSize < 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user