random-picker

Crates.iorandom-picker
lib.rsrandom-picker
version0.2.3
sourcesrc
created_at2024-10-08 23:28:18.6386
updated_at2024-11-01 20:26:12.358159
descriptionGenerates 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.
homepage
repositoryhttps://github.com/wuwbobo2021/random-picker
max_upload_size
id1401824
size40,866
wu bobo (wuwbobo2021)

documentation

README

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.

Commit count: 16

cargo fmt