Releases: nvzqz/RandomKit
Releases · nvzqz/RandomKit
v5.2.3
v5.2.2
v5.2.1
v5.2.0
New Features
- Made
Trivial
protocol public, allowing for library users to enable related optimizations for their own types - Added
jump(count:)
variant ofjump()
toXoroshiro
andXorshiftStar
Improvements
- Made
jump()
forXorshiftStar
20%+ faster - Made
reseed(with:)
forChaCha
550%+ fasterinit(seed:)
is also faster due to reliance onreseed(with:)
v5.1.0
v5.0.0
New Features
- Added
RandomRetrievable
andRandomRetrievableInRange
protocols (see 793e473) - Added
SeedableFromSequence
protocol (see 7109437)
Changes
- Removed
random(using:)
method that applied to allSequence
types - Removed
Double
random(within:using:)
forTimeInterval
ranges - Renamed
RandomWithinRange
andRandomWithinClosedRange
toRandomInRange
andRandomInClosedRange
respectively- Functions that had a
within:
argument now usein:
- Functions that had a
SeedableFromRandomGenerator
no longer requiresSeedable
- Changed
ChaCha.Seed
to[UInt32]