openvm_circuit::system::memory

Type Alias Equipartition

Source
pub type Equipartition<F, const N: usize> = BTreeMap<(u32, u32), [F; N]>;
Expand description

An equipartition of memory values.

The key is a pair (address_space, label), where label is the index of the block in the partition. I.e., the starting address of the block is (address_space, label * N).

If a key is not present in the map, then the block is uninitialized (and therefore zero).

Aliased Typeยง

struct Equipartition<F, const N: usize> { /* private fields */ }