Ruby Floats: When 2.6x Faster Is Actually Slower (and Then Faster Again)

Update: This article originally concluded that Eisel-Lemire wasn't worth it for Ruby. I was wrong. After revisiting the problem, I found a way to make it work - and submitted a PR to Ruby. Read the full update at the end. Recently, I submitted a PR to Ruby that optimizes Float#to_s using the Ryu algorithm, [ ] The post Ruby Floats: When 2.6x Faster Is Actually Slower (and Then Faster Again)…