4 releases
0.2.3 | Nov 1, 2024 |
---|---|
0.2.2 | Oct 13, 2024 |
0.2.1 | Oct 11, 2024 |
0.2.0 | Oct 8, 2024 |
#463 in Algorithms
381 downloads per month
36KB
710 lines
random-picker
Generates random choices based on the weight table of probabilities. It can be used to calculate each item's probability of being picked up when picking a given amount of non-repetitive items (multi-thread), or to compare the speed of OS random source with that of the CSPRNG.
Documentation: https://docs.rs/random_picker/latest.
Current version of this program is able to load table files created by the old C++ version, just for comparing their behaviors.
This crate is looking for new maintainers having more knowledge and interests in this topic.
lib.rs
:
Generates random choices based on the weight table of probabilities. It can be used to calculate each item's probability of being picked up when picking a given amount of non-repetitive items, or to compare the speed of OS random source with that of the CSPRNG.
Dependencies
~240–475KB