dtolnay/ryu

Investigate faster performance than upstream implementation

Ouverte

#35 ouverte le 2 oct. 2020

 (2 commentaires) (0 réaction) (0 personne assignée)Rust (40 forks)github user discovery
help wanted

Métriques du dépôt

Stars
 (696 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur