Appearance
cellpack::loader::Shuffle
Module contract · All interfaces
At a glance
pub struct Shuffle { /* private fields */ }Epochs of shuffled cells: each epoch visits every position (or every entry of a subset) once, in its own pseudorandom order. With blocks, an epoch shuffles blocks of consecutive cells, and shuffles cells within each group of consecutive (shuffled) blocks: local reads, as from chunked shuffle buffers.
Member index
3 of 3 members
Methods and associated constants
new
Every cell of 0..cells, epochs times.
subset
The entries of cells (repeats allowed), epochs times.
blocks
Shuffles blocks of block consecutive entries, and entries within groups of group blocks; block is capped at the entry count.
Implemented traits
Contract reference
See the module reference for semantic input/output rules, units, allocation, mutation, failure behavior, and lifetime requirements. Declarations and documented members are synchronized from the crate source.