Skip to main content

Module rng

Module rng 

Source

Modules§

stream
Stream tags for derive_seed: one per independent use of randomness.

Structs§

Rng
A thin wrapper around PCG64 for deterministic generation.

Functions§

derive_seed
Seed for one independent random stream of a run, identified by path (a stream tag first, then e.g. an entity key and a batch index).
name_key
Stable 64-bit key for a name (FNV-1a), to give each entity its own derive_seed streams independently of its position in the schema.