Header menu logo issie

Addressing Type

How an address is turned into its slot number. This is the *only* place the strategies differ: everything after it works on slot numbers.

Union cases

Union case Description

Dense int array

Full Usage: Dense int array

Parameters:
    Item : int array

Slot number per address, -1 for never written. `AddressWidth <= maxDenseAddressWidth`.

Item : int array

Fixed

Full Usage: Fixed

A read-only memory: contents are part of the component type and never change, so there are no slots and every read is of `InitialData`.

Sparse(root, depth)

Full Usage: Sparse(root, depth)

Parameters:

A path-compressed trie, with the depth it was built for.

root : NodeOrLeaf option array
depth : int

Wide Map<bigint, int> ref

Full Usage: Wide Map<bigint, int> ref

Parameters:
    Item : Map<bigint, int> ref

Addresses wider than 32 bits, which arrive as bigints. Sparse by construction.

Item : Map<bigint, int> ref

Instance members

Instance member Description

this.IsDense

Full Usage: this.IsDense

Returns: bool
Returns: bool

this.IsFixed

Full Usage: this.IsFixed

Returns: bool
Returns: bool

this.IsSparse

Full Usage: this.IsSparse

Returns: bool
Returns: bool

this.IsWide

Full Usage: this.IsWide

Returns: bool
Returns: bool

Type something to start searching.