3 ms·Faster random integer generation with batching9 points by ibobev 2y agozgs 2y agoA division free integer in a range RNG has been developed: https://github.com/apple/swift/pull/39143 https://github.com/apple/swift/pull/39143