diff options
| author | bors <bors@rust-lang.org> | 2017-08-24 21:18:16 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-08-24 21:18:16 +0000 |
| commit | c0771f21901448bc4f695f287510ce7fdd8f4287 (patch) | |
| tree | 557e2efb877d34e799a0f657b6ac0a75232bd1f0 /src/libstd/sys/unix/process/process_unix.rs | |
| parent | 2c0558f635861533e2fcb4298ea93250cdfc2c58 (diff) | |
| parent | b9c69ec3c3a318b8279ec69b3548e0dfdd462038 (diff) | |
| download | rust-c0771f21901448bc4f695f287510ce7fdd8f4287.tar.gz rust-c0771f21901448bc4f695f287510ce7fdd8f4287.zip | |
Auto merge of #44051 - eddyb:apfloat-faster-div, r=nagisa
Speed up APFloat division by using short division for small divisors. Fixes #43828 (hopefully), by not doing long division bit-by-bit for small divisors. When parsing the ~200,000 decimal float literals in the `tuple-stress` benchmark, this change brings roughly a 5x speed increase (from `0.6s` to `0.12s`), and the hottest instructions are native `div`s.
Diffstat (limited to 'src/libstd/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions
