about summary refs log tree commit diff
path: root/library/std/src/sys/unix/fs.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-04-10 14:09:09 +0000
committerbors <bors@rust-lang.org>2023-04-10 14:09:09 +0000
commita73288371e3fa0a610fbc11e7e8418017bdfde42 (patch)
tree11d1ed6aa63b74432df5424a2026e0813fc77149 /library/std/src/sys/unix/fs.rs
parent2a198c7f62a6dea507ba950750bc928237ad7a00 (diff)
parent0f96c717924178c47491e94e802cca8a4a3a7175 (diff)
downloadrust-a73288371e3fa0a610fbc11e7e8418017bdfde42.tar.gz
rust-a73288371e3fa0a610fbc11e7e8418017bdfde42.zip
Auto merge of #107007 - TDecking:float_parsing_improvments, r=Mark-Simulacrum
Improve the floating point parser in dec2flt.

Greetings everyone,

I've benn studying the rust floating point parser recently and made the following tweaks:

* Remove all remaining traces of `unsafe`. The parser is now 100% safe Rust.
* The trick in which eight digits are processed in parallel is now in a loop.
* Parsing of inf/NaN values has been reworked.

On my system, the changes result in performance improvements for some input values.
Diffstat (limited to 'library/std/src/sys/unix/fs.rs')
0 files changed, 0 insertions, 0 deletions