Enum blosc::ShuffleMode
[−]
[src]
pub enum ShuffleMode { None, Byte, Bit, }
Controls Blosc's shuffle operation.
The Shuffle operation is the key to efficiently compressing arrays. It rearranges the array to put every entry's MSB together and every entry's LSB together, which improves the performance of every Compressor.
Variants
None
No shuffle. Use this mode for data that is not an array.
Byte
Byte shuffle. Use this mode for most arrays.
Bit
Bit shuffle.
This is similar to the Byte
shuffle, but works bit-by-bit instead of
byte-by-byte. It gives better compression for most datasets, but runs a
little slower. Use it when compressing numeric data if higher
compression is desired.
Trait Implementations
impl Clone for ShuffleMode
[src]
fn clone(&self) -> ShuffleMode
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more