Releases: nvzqz/RandomKit
Releases · nvzqz/RandomKit
v5.2.3
08 Aug 19:29
Compare
Sorry, something went wrong.
No results found
Fixes
Fixed compilation errors for Xcode 9 Beta 5
v5.2.2
28 Jul 19:47
Compare
Sorry, something went wrong.
No results found
Fixes
Reimplement String.UTF16Index
conformances to RandomInRange
and RandomInClosedRange
v5.2.1
28 Jul 18:23
Compare
Sorry, something went wrong.
No results found
Fixes
Removed String.UTF16Index
conformances to RandomInRange
and RandomInClosedRange
for Swift 3.2 and after
This was enabled by an implementation based on Strideable
, which the type no longer conforms to as of Swift 3.2
v5.2.0
25 Jul 04:10
Compare
Sorry, something went wrong.
No results found
New Features
Made Trivial
protocol public, allowing for library users to enable related optimizations for their own types
Added jump(count:)
variant of jump()
to Xoroshiro
and XorshiftStar
Improvements
Made jump()
for XorshiftStar
20%+ faster
Made reseed(with:)
for ChaCha
550%+ faster
init(seed:)
is also faster due to reliance on reseed(with:)
v5.1.0
24 Jun 13:18
Compare
Sorry, something went wrong.
No results found
Improvements
Initial Swift 4 compatibility 🎉
Improved time to access a thread-local generator by ~22%
Changes
The ShiftOperations package is not required for Swift 3.2 and above
v5.0.0
24 Jul 18:50
Compare
Sorry, something went wrong.
No results found
New Features
Added RandomRetrievable
and RandomRetrievableInRange
protocols (see 793e473 )
Added SeedableFromSequence
protocol (see 7109437 )
Changes
Removed random(using:)
method that applied to all Sequence
types
Removed Double
random(within:using:)
for TimeInterval
ranges
Renamed RandomWithinRange
and RandomWithinClosedRange
to RandomInRange
and RandomInClosedRange
respectively
Functions that had a within:
argument now use in:
SeedableFromRandomGenerator
no longer requires Seedable
Changed ChaCha.Seed
to [UInt32]
v4.5.2
13 Apr 14:44
Compare
Sorry, something went wrong.
No results found
Fixes
Fixed Xoroshiro
jump method
v4.5.1
12 Apr 11:14
Compare
Sorry, something went wrong.
No results found
Fixes
ChaCha
reseed(with:)
did not generate the same values for the same seed it was instantiated with
v4.5.0
12 Apr 10:46
Compare
Sorry, something went wrong.
No results found
New Features
ChaCha random number generator (see: 9ca66ec )
Added reseed()
method to SeedableFromOtherRandomGenerator
Improvements
Make random Array
initializers 5-10% faster
v4.4.1
30 Mar 18:07
Compare
Sorry, something went wrong.
No results found
Fixes
Safely accesses internal global thread-local-storage type keys dictionary with a readers-write lock