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]
impl Clone for ShuffleMode
fn clone(&self) -> ShuffleMode
[src]
fn clone(&self) -> ShuffleMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for ShuffleMode
[src]
impl Copy for ShuffleMode
impl Debug for ShuffleMode
[src]
impl Debug for ShuffleMode
Auto Trait Implementations
impl Send for ShuffleMode
impl Send for ShuffleMode
impl Sync for ShuffleMode
impl Sync for ShuffleMode