tudocomp
– The TU Dortmund Compression Framework
CompressMode.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 namespace tdc {
4 
6  enum CompressMode {
9  plain = 0,
10 
13  delayed = 1,
14 
18 
22 
24  select = 255,
25  };
26 
28  return in == CompressMode::select ? sel : in;
29  }
30 
31 }
Contains the text compression and encoding framework.
Definition: namespaces.hpp:11
Special mode that will cause no bit-compression at all during construction, internal use in TextDS on...
Data structures are constructed directly in bit-compressed space (slower construction, but smaller memory usage).
CompressMode
Defines when data structures are bit-compressed.
Definition: CompressMode.hpp:6
CompressMode cm_select(CompressMode in, CompressMode sel)
Automatically select compress mode, internal use in TextDS only.
Data structures are bit-compressed after they have been constructed (fast construction, but possibly high memory peak).
Data structures are not bit-compressed at all (fastest, but highest memory usage).
Definition: CompressMode.hpp:9