19 #define ALPHABET_BITS (sizeof(uliteral_t)*8) 20 #endif //TODO alphabet_bits -> effective alphabet size 26 return static_cast<char>(
static_cast<uint64_t
>(data)) & 0xff;
29 return (static_cast<uint64_t>(
id)<<
ALPHABET_BITS) +
static_cast<uint64_t
>(c);
Contains the text compression and encoding framework.
uint_t< 40 > squeeze_node_t
uint8_t uliteral_t
Type to represent signed single literals.
factorid_t get_id(squeeze_node_t data)
uliteral_t get_letter(squeeze_node_t data)
typename uint_dispatch_t< N >::type uint_t
uint32_t factorid_t
Type for the factor indices, bounded by the number of LZ78 trie nodes.
squeeze_node_t create_node(factorid_t id, uliteral_t c)