12#ifndef ROOT_Compression
13#define ROOT_Compression
117enum R__DEPRECATED(6, 36,
"Use RCompressionSetting::EAlgorithm instead") ECompressionAlgorithm {
#define R__DEPRECATED(MAJOR, MINOR, REASON)
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
int Use the overload accepting RCompressionSetting::EAlgorithm instead
int CompressionSettings(RCompressionSetting::EAlgorithm::EValues algorithm, int compressionLevel)
EValues
Note: this is only temporarily a struct and will become a enum class hence the name convention used.
@ kUseGlobal
Use the global compression algorithm.
@ kLZ4
Use LZ4 compression.
@ kOldCompressionAlgo
Use the old compression algorithm.
@ kZSTD
Use ZSTD compression.
@ kUndefined
Undefined compression algorithm (must be kept the last of the list in case a new algorithm is added).
@ kInherit
Some objects use this value to denote that the compression algorithm should be inherited from the par...
@ kZLIB
Use ZLIB compression.
@ kLZMA
Use LZMA compression.
EValues
Note: this is only temporarily a struct and will become a enum class hence the name convention used.
@ kUseAnalysis
Use the default analysis setting; fast reading but poor compression ratio.
@ kUseGlobal
Use the global compression setting for this process; may be affected by rootrc.
@ kUseCompiledDefault
Use the compile-time default setting.
@ kUseSmallest
Use the setting that results in the smallest files; very slow read and write.
@ kUseGeneralPurpose
Use the new recommended general-purpose setting; it is a best trade-off between compression ratio/dec...
EValues
Note: this is only temporarily a struct and will become a enum class hence the name convention used.
@ kInherit
Some objects use this value to denote that the compression algorithm should be inherited from the par...
@ kUseMin
Compression level reserved when we are not sure what to use (1 is for the fastest compression)
@ kDefaultOld
Compression level reserved for old ROOT compression algorithm.
@ kUncompressed
Compression level reserved for "uncompressed state".
@ kDefaultLZMA
Compression level reserved for LZMA compression algorithm (slowest compression with smallest files)
@ kDefaultZSTD
Compression level reserved for ZSTD compression algorithm (trade-off between file ratio/decompression...
@ kDefaultZLIB
Compression level reserved for ZLIB compression algorithm (fastest compression)
@ kDefaultLZ4
Compression level reserved for LZ4 compression algorithm (trade-off between file ratio/decompression ...
The global settings depend on a global variable named R__ZipMode which can be modified by a global fu...
static EAlgorithm::EValues AlgorithmFromCompressionSettings(int compSettings)
static std::string AlgorithmToString(EAlgorithm::EValues algorithm)