Skip to main content

Module compressed_array

Module compressed_array 

Source

Structs§

Compact
Implementation of CompressedArray that stores each value with the same number of bits required to store the largest one.
CompactBuilder
CompactFast
Implementation of CompressedArray that stores each value with the same number of bits required to store the largest one. It uses unaligned memory reading and writing.
CompactFastBuilder
LeastSquares
LinearRegression
Represents linear function f(i) = floor((multiplier*i + offset) / divider).
LinearRegressionArray
Implementation of CompressedArray that stores differences of values and linear regression with the same number of bits required to store the largest difference.
Simple
SuxEliasFano
CompressedArray implementation by Elias-Fano from sux crate.

Traits§

CompressedArray
Compressed array of usize integers that can be used by PHast.
CompressedBuilder
Builder used to construct CompressedArray.
LinearRegressionConstructor

Type Aliases§

DefaultCompressedArray