diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2013-10-03 13:10:34 +1000 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2013-10-09 22:22:43 +1100 |
| commit | 9db32a2f1d2cfafc519941475f5e660a9ae076f0 (patch) | |
| tree | baa944042d89b671bbd42a0e0f625afd18b2606e /src/rt/sync/rust_thread.cpp | |
| parent | 98869799eb2604ecd7c947db117794df10890a2c (diff) | |
| download | rust-9db32a2f1d2cfafc519941475f5e660a9ae076f0.tar.gz rust-9db32a2f1d2cfafc519941475f5e660a9ae076f0.zip | |
std::rand: adjust the f32 & f64 Rand instances.
The f32 generator now just uses a single u32, and the f64 uses a single u64. This will make both significantly faster, especially on 64-bit platforms.
Diffstat (limited to 'src/rt/sync/rust_thread.cpp')
0 files changed, 0 insertions, 0 deletions
