dtolnay/ryu

Investigate faster performance than upstream implementation

Aperta

#35 aperta il 2 ott 2020

 (2 commenti) (0 reazioni) (0 assegnatari)Rust (40 fork)github user discovery
help wanted

Metriche repository

Star
 (696 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

As observed in https://github.com/dtolnay/ryu/pull/34#issue-496690273, the 32-bit and 64-bit float-to-string benchmark in this repo is something like 40% faster than the exact same benchmark in https://github.com/ulfjack/ryu. We need to examine whether there is any inadvertent discrepancy between the two benchmarks, difference in build configuration, or any toolchain difference that would account for this. The code is a line-by-line transliteration so there should really be no performance difference, and certainly not this big.

Guida contributor