An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

splitmix

Pure Haskell implementation of SplitMix described in Guy L. Steele, Jr., Doug Lea, and Christine H. Flood. 2014. Fast splittable pseudorandom number generators. In Proceedings of the 2014 ACM International Conference on Object Oriented Programming Systems Languages & Applications (OOPSLA '14). ACM, New York, NY, USA, 453-472. DOI: https://doi.org/10.1145/2660193.2660195 The paper describes a new algorithm SplitMix for splittable pseudorandom number generator that is quite fast: 9 64 bit arithmetic/logical operations per 64 bits generated. SplitMix is tested with two standard statistical test suites (DieHarder and TestU01, this implementation only using the former) and it appears to be adequate for "everyday" use, such as Monte Carlo algorithms and randomized data structures where speed is important. In particular, it should not be used for cryptographic or security applications, because generated sequences of pseudorandom values are too predictable (the mixing functions are easily inverted, and two successive outputs suffice to reconstruct the internal state).

Ecosystem
hackage.haskell.org
Latest Release
0.1.3
8 months ago
Versions
17
Downloads
62,216 total
Dependent Packages
12
Dependent Repos
47
Links
Registry hackage.haskell.org
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:hackage/splitmix
spec
License BSD-3-Clause
First Release over 8 years ago
Last Synced about 1 month ago
Repository
Docker Dependents 2
Docker Downloads 89
Rankings on hackage.haskell.org
Overall Top 3.5%
Downloads Top 2.4%
Dependent packages Top 2.4%
Dependent repos Top 7.7%
Docker downloads Top 1.3%