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

no-std star_rng

opinionated PRNG for easier fuzz testing

1 unstable release

0.1.0 Apr 10, 2024

#1529 in Algorithms

Download history 148/week @ 2024-04-10 2/week @ 2024-05-08 18/week @ 2024-05-15 37/week @ 2024-05-22 41/week @ 2024-05-29 27/week @ 2024-06-05 47/week @ 2024-06-12 11/week @ 2024-06-19

86 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