[][src]Enum blosc::ShuffleMode

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.

See new-trends-in-storing-large-data-silos-in-python

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.

See new-bitshuffle-filter

Trait Implementations

impl Clone for ShuffleMode[src]

impl Copy for ShuffleMode[src]

impl Debug for ShuffleMode[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.