Closed
Description
Existing and planned changes for 0.6 (excluding things already merged into the 0.5 series). @pitdicker do you have more to add?
Required items:
sequences
- Revise API for choose/choose_multiple/shuffle Sequence functionality: API revisions #483, Improve tests for some seq APIs #515
- Revise weighted sampling Implement weighted sampling API #518
distributions
- Add Dirichlet distribution Support for Dirichlet distribution #485
- Add
gen_ratio
Add API for getting a bool with chance of exactly 1-in-10 or 2-in-3 #491 - Make
Uniform
supportBorrow
-ed arguments Make Uniform and its helper traits use arguments of type Borrow<X> #506, Fix ambiguity issues in use of Borrow<T> #509 - Add basic SIMD support Add basic SIMD support #523
- Sampling from unit sphere and circle Implement sampling from the unit sphere and circle #567
Core
- Seeding via
u64
Convenient PRNG construction:seed_from_u64
/from_hashable
#522, Implement SeedableRng::seed_from_u64 #537 - Merge into master (+ bug fix) Merge 0.5 #599
- Publish rand_core 0.3 [0.5 branch] Prepare rand_core 0.3 release #614
PRNGs
- Move ISAAC generators to thei own crate Move ISAAC generators to their own crate #551
- Move
XorShiftRng
to its own crate MoveXorShiftRng
to its own crate #557 - Move ChaCha and Hc128 RNGs to their own crates Move ChaChaRng and Hc128Rng to their own crates #607
- Publish above crates
- Replace
SmallRng
algorithmSmallRng
algorithm #603 - Add performance metrics to documentation? Use real PRNG benchmarks in documentation #450
- Reorganise PRNG documentation PRNG module documentation #622
Documentation
Optional items:
ThreadRng
- Future of
thread_rng
(algorithms) Future ofthread_rng
#463 -
ThreadRng::new
vsthread_rng
Renamethread_rng
toThreadRng::new()
? #404 - Make available without
std
Makethread_rng()
available withoutstd
#313 ThreadRng / EntropyRng improvements #579
Seeding
- Seeding via hashable value Convenient PRNG construction:
seed_from_u64
/from_hashable
#522, Universal seeder #554
Optimisations and extensions
-
IteratorRandom::choose
could usesize_hint
OptimiseIteratorRandom::choose
forsize_hint
orExactSizeIterator
#511 Implement SeedableRng::seed_from_u64 #537 - Make
fill
work on derived array types ImplementFill
for derived array types #489 - Optimise
Rng::gen
on arrays OptimiseRng::gen
on arrays? #269
other
- New
rust-random
organisation Project organisation #578 - Add fork protection to
ReseedingRng
Add Unix fork protection #466 - Add support for WASM-bindgen Add support for wasm-bindgen #541