An educational Ruby C extension implementing the Eisel-Lemire algorithm for string-to-float conversion. This gem demonstrates why this optimization, despite being ~2.6x faster for complex numbers, was NOT submitted to Ruby core: it regresses performance by ~9% on simple numbers (the common case). Use this gem to learn about float parsing algorithms and their tradeoffs, or if you specifically work with high-precision scientific data.
Required Ruby Version
>= 3.2.0
Authors
Maciej Mensfeld
Versions
-
0.2.0
-
source
- 0.2.0 source December 19, 2025 (128 KB)
-
-
0.1.1
-
source
- 0.1.1 source December 18, 2025 (123 KB)
-
-
0.1.0
-
source
- 0.1.0 source December 18, 2025 (123 KB)
-
Pushed by
SHA 256 checksum
Provenance
Source Commit
Build File