-
-
Notifications
You must be signed in to change notification settings - Fork 478
Open
Labels
E-questionParticipation: opinions wantedParticipation: opinions wanted
Description
ThreadRng adds some thread-local memory. In case not all users want this, we could add a We have a thread_rng feature flag (probably default-enabled).thread_rng feature in v0.9.
Where the thread_rng feature is not enabled, rand::rngs::ThreadRng would not be available. rand::rng() could instead use OsRng (assuming that getrandom is available), thus the thread_rng feature would mostly be a performance boost (at the cost of extra code and thread-local memory).
Velocifyer
Metadata
Metadata
Assignees
Labels
E-questionParticipation: opinions wantedParticipation: opinions wanted