RubyGems Navigation menu

fast_float_lemire 0.1.1

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.

Gemfile:
=

installieren:
=

Versionen:

  1. 0.2.0 December 19, 2025 (128 KB)
  2. 0.1.1 December 18, 2025 (123 KB)
  3. 0.1.0 December 18, 2025 (123 KB)

Besitzer:

Pushed by:

GitHub

Autoren:

  • Maciej Mensfeld

SHA 256-Prüfsumme:

=

Downloads insgesamt 370

Für diese Version 120

Version veröffentlicht:

Lizenz:

MIT

Erforderliche Ruby-Version: >= 3.2.0

New versions require MFA: true

Version published with MFA: true

Links: