#random #opinionated #testing #numbers #level #bit

no-std star_rng

opinionated PRNG for easier fuzz testing

1 unstable release

0.1.0 Apr 10, 2024

#1487 in Algorithms

Download history 126/week @ 2024-04-06

126 downloads per month

MIT/Apache

16KB
253 lines

StarRNG - Xoshiro128StarStar-based opinionated psuedorandom number generator

This crate features an evolved version of a psuedorandom number generation strategy that I have been using for several years now. The internal rng is buffered at the bit level to dramatically improve efficiency when many single random booleans or small integers are being used.

no-std and even no-alloc compatible thanks to awint.

Dependencies

~1MB
~20K SLoC