Uh oh!
There was an error while loading. Please reload this page.
Use OsRng for thread_rng. - #133
Conversation
bluss
commented
Jan 9, 2017
I think we need to examine this for performance impact. |
8c35e6c to
c9f8b2bComparealexcrichton
commented
Feb 27, 2017
Yes unfortunately when we've done this in the past the performance has been unacceptably slow afterwards, unfortunately. @tomprince did you find evidence to the contrary, however? |
dhardy
commented
Aug 17, 2017
@alexcrichton what precisely has unacceptable performance? This change has been argued for quite a bit in the crate evaluationthread. If we're talking about specific applications, we may still want to use |
alexcrichton
commented
Aug 17, 2017
@dhardy historically the Now that's mainly something to deal with the standard library, and it's probably the case no matter what that we'll never switch |
Can we not do that? No matter the origins, this will lead to catastrophic performance in some programs as people use thread_rng liberally as an |
burdges
commented
Aug 18, 2017
I'd propose this approach : Abstract Replace Add an I think this provides a |
dhardy
commented
Aug 19, 2017
@burdges given that the current |
dhardy
commented
Dec 8, 2017
Closing (see reason in #78). |
Fixes#78.