-
-
Notifications
You must be signed in to change notification settings - Fork 480
Closed
Labels
E-questionParticipation: opinions wantedParticipation: opinions wanted
Description
Synopsis: create a new rand_thread crate to house ThreadRng and make rand depend on that.
Motivation:
- various users claim they only want this part of rand Depdendency explosion #713 Could
randchanges slow down and simplify the API before making new versions? #704 - it is logically isolated functionality, thus easy to split out
Reasons not to do this:
- this crate would only have 1-2 less dependencies than
rand—rand_pcg(which might be removed fromrandanyway) and possiblyautocfg - this is yet another crate for users of Rand as a whole
- likely someone would want some extra functionality, such as generating uniform integers within a given range, and thus have to add a dependency on
randanyway (or roll their own code which is easy to get wrong with bias and off-by-one errors and would miss our various specialisations and optimisations)
To be clear: my personal opinion is that we don't need this.
burdges
Metadata
Metadata
Assignees
Labels
E-questionParticipation: opinions wantedParticipation: opinions wanted