tudocomp
– The TU Dortmund Compression Framework
|
Decodes lcpcomp compressed data as described in the paper. More...
#include <CompactDec.hpp>
Public Member Functions | |
void | decode_lazy () const |
void | decode_eagerly () const |
CompactDec (CompactDec &&other) | |
~CompactDec () | |
CompactDec (Env &&env, len_t size) | |
void | decode_literal (uliteral_t c) |
void | decode_factor (len_t pos, len_t num) |
Public Member Functions inherited from tdc::Algorithm | |
virtual | ~Algorithm ()=default |
Algorithm (Algorithm const &)=default | |
Algorithm (Algorithm &&)=default | |
Algorithm & | operator= (Algorithm const &)=default |
Algorithm & | operator= (Algorithm &&)=default |
Algorithm (Env &&env) | |
Instantiates an algorithm in the specified environment. More... | |
Env & | env () |
Provides access to the environment that the algorithm works in. More... | |
const Env & | env () const |
Static Public Member Functions | |
static Meta | meta () |
Decodes lcpcomp compressed data as described in the paper.
It creates an array of dynamic arrays. Each dynamic array stores in the first element its size. On appending a new element, the dynamic array gets resized by one (instead of doubling). This helps to keep the memory footprint low. It can be faster than ScanDec if its "scans"-value too small.
Definition at line 18 of file CompactDec.hpp.
|
inline |
Definition at line 59 of file CompactDec.hpp.
|
inline |
Definition at line 71 of file CompactDec.hpp.
Definition at line 80 of file CompactDec.hpp.
|
inline |
Definition at line 27 of file CompactDec.hpp.
Definition at line 94 of file CompactDec.hpp.
|
inline |
Definition at line 25 of file CompactDec.hpp.
|
inline |
Definition at line 90 of file CompactDec.hpp.
|
inlinestatic |
Definition at line 20 of file CompactDec.hpp.