V8 recently [imported](https://issues.chromium.org/issues/406357277) the Dragonbox library for double to string conversions: https://github.com/jk-jeon/dragonbox JSC [started using this](https://github.com/WebKit/WebKit/pull/20467) a few years ago. We're currently using Google's double-conversion library (it's in MFBT) that's based on code in V8. Dragonbox is not a complete replacement for all conversions, but it should be faster for the typical double to string conversion. Thanks to Mayank for pointing us to the V8 change.
Bug 1964738 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
V8 recently [imported](https://issues.chromium.org/issues/406357277) the Dragonbox library for double to string conversions: https://github.com/jk-jeon/dragonbox JSC [started using this](https://github.com/WebKit/WebKit/pull/20467) a few years ago. We're currently using Google's double-conversion library (it's in MFBT) that's based on code in V8. Dragonbox is not a complete replacement for all conversions (IIRC at least `Number.prototype.toFixed` isn't supported), but it should be faster for the typical double to string conversion. Thanks to Mayank for pointing us to the V8 change.