File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 9
9
10
10
#include < boost/filesystem/operations.hpp>
11
11
#include < Catch2/single_include/catch2/catch.hpp>
12
- #include < lzma.h>
13
12
#include < zstd.h>
14
13
15
14
#include " ../src/clp/Array.hpp"
@@ -35,20 +34,14 @@ using std::string_view;
35
34
namespace {
36
35
constexpr string_view cCompressedFilePath{" test_streaming_compressed_file.bin" };
37
36
constexpr size_t cBufferSize{128L * 1024 * 1024 }; // 128MB
38
- // Interleave no-ops to ensure the integrity of the compressor states at all times.
39
37
constexpr auto cCompressionChunkSizes = std::to_array<size_t >(
40
- {cBufferSize / 100 ,
41
- 0 ,
38
+ {0 , // no-op
39
+ cBufferSize / 100 ,
42
40
cBufferSize / 50 ,
43
- 0 ,
44
41
cBufferSize / 25 ,
45
- 0 ,
46
42
cBufferSize / 10 ,
47
- 0 ,
48
43
cBufferSize / 5 ,
49
- 0 ,
50
44
cBufferSize / 2 ,
51
- 0 ,
52
45
cBufferSize}
53
46
);
54
47
You can’t perform that action at this time.
0 commit comments