Struct star::ByteUnshuffleSpec¶
ClassList > star > ByteUnshuffleSpec
Describes an in-place byte-unshuffle to fuse into an array's fill. More...
#include <stards.h>
Public Attributes¶
| Type | Name |
|---|---|
| bool | active = false |
| size_t | block_size = 0 |
| bool | blocked = false |
| size_t | elem_size = 0 |
Detailed Description¶
On the read hot path the decompressed bytes of a shuffle-codec array are byte-planes that must be transposed back to element order before use. Rather than unshuffle into a scratch buffer and then memcpy that buffer into the NDArray (two full passes), deserialize_typed_value_bytes() can unshuffle straight into the freshly allocated NDArray storage (one pass) when handed one of these. active == false means "no shuffle — plain memcpy", preserving the exact behavior of the non-shuffle codecs.
Public Attributes Documentation¶
variable active¶
variable block_size¶
variable blocked¶
variable elem_size¶
The documentation for this class was generated from the following file StarDS/include/stards.h