pub struct BitPacker1x;
Expand description

BitPacker1x is standard bitpacking : the integer representation over b bits are simply concatenated one after the other.

One block must contain 32 integers.

Trait Implementations

Number of u32 per compressed block

Checks the available instructions set on the current CPU and returns the best available implementation. Read more

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 block. Read more

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

Returns the size of a compressed block.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.