Closed
Description
Running the corresponding benchmarks from #1063, I get the following results:
test distr_exp1_general ... bench: 4,208 ns/iter (+/- 192) = 1901 MB/s
test distr_exp1_specialized ... bench: 5,288 ns/iter (+/- 196) = 1512 MB/s
This contradicts our documentation:
Samples floating-point numbers according to the exponential distribution, with rate parameter
λ = 1
. This is equivalent toExp::new(1.0)
or sampling with-rng.gen::<f64>().ln()
, but faster.
Metadata
Metadata
Assignees
Labels
No labels