12#ifndef ROOT_Compression
13#define ROOT_Compression
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
@ kZSTD
Deprecated name, do not use:
@ kLZMA
Deprecated name, do not use:
@ kZLIB
Deprecated name, do not use:
@ kOldCompressionAlgo
Deprecated name, do not use:
@ kUseGlobalCompressionSetting
Deprecated name, do not use:
@ kUseGlobalSetting
Deprecated name, do not use:
@ kLZ4
Deprecated name, do not use:
@ kUndefinedCompressionAlgorithm
Deprecated name, do not use:
int CompressionSettings(RCompressionSetting::EAlgorithm algorithm, int compressionLevel)
EValues
Note: this is only temporarily a struct and will become a enum class hence the name.
@ 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 ZSYD 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...