|
|
|
|
17
|
DKLogD("%s", DKGL_FUNCTION_NAME);
|
17
|
DKLogD("%s", DKGL_FUNCTION_NAME);
|
18
|
|
18
|
|
19
|
DKTimer timer;
|
19
|
DKTimer timer;
|
20
|
- for (auto format : { DKCompressor::Deflate, DKCompressor::Deflate9, DKCompressor::Zstd, DKCompressor::ZstdMax, DKCompressor::LZ4, DKCompressor::LZ4HC })
|
|
|
|
|
20
|
+ for (auto format : { DKCompressor::Zlib, DKCompressor::Zstd, DKCompressor::ZstdMax, DKCompressor::LZ4, DKCompressor::LZ4HC })
|
21
|
{
|
21
|
{
|
22
|
const char* fmt = [](DKCompressor::Method m) {
|
22
|
const char* fmt = [](DKCompressor::Method m) {
|
23
|
switch (m)
|
23
|
switch (m)
|
24
|
{
|
24
|
{
|
25
|
- case DKCompressor::Deflate: return "DEFLATE";
|
|
|
26
|
- case DKCompressor::Deflate9: return "DEFLATE(9)";
|
|
|
|
|
25
|
+ case DKCompressor::Zlib: return "Zlib";
|
27
|
case DKCompressor::Zstd: return "Zstd";
|
26
|
case DKCompressor::Zstd: return "Zstd";
|
28
|
case DKCompressor::ZstdMax: return "ZstdMax";
|
27
|
case DKCompressor::ZstdMax: return "ZstdMax";
|
29
|
case DKCompressor::LZ4: return "LZ4";
|
28
|
case DKCompressor::LZ4: return "LZ4";
|