Struct bitpacking::BitPacker4x[][src]

pub struct BitPacker4x(_);

BitPacker4x packs integers in groups of 4. This gives an opportunity to leverage SSE3 instructions to encode and decode the stream.

One block must contain 128 integers.

Trait Implementations

impl BitPacker for BitPacker4x
[src]

BLOCK_LEN: usize = BLOCK_LEN

Number of u32 per compressed block

Returns the best available implementation for the current CPU.

Compress a block of u32. Read more

Delta encode and compressed the decompressed array. Read more

Decompress the compress array to the decompressed array. Read more

Decompress thecompressarray to the decompressed array. The compressed array is assumed to have been delta-encoded and compressed. Read more

Returns the minimum number of bits used to represent the largest integer in the decompressed array. Read more

Returns the minimum number of bits used to represent the largest delta in the deltas in the decompressed array. Read more

Returns the size of a compressed block.

Auto Trait Implementations

impl Send for BitPacker4x

impl Sync for BitPacker4x