It would be nice to have a way to avoid checks like this:
|
deal_with_zero_seed!(seed, Self, 16); |
My use case is embedded development, and this check increases the code size. Since my seed comes from a hash function, I know it won't be zero.
Right now I simply vendor my own Xoshiro128PlusPlus from the C implementation because of this, but it would be nice to just use the well-known crate directly.
It would be nice to have a way to avoid checks like this:
rngs/rand_xoshiro/src/xoroshiro128plusplus.rs
Line 87 in 2100f8f
My use case is embedded development, and this check increases the code size. Since my seed comes from a hash function, I know it won't be zero.
Right now I simply vendor my own
Xoshiro128PlusPlusfrom the C implementation because of this, but it would be nice to just use the well-known crate directly.