Open
Bug 1964738
Opened 8 days ago
Updated 2 days ago
Consider using Dragonbox for double-to-string conversion
Categories
(Core :: JavaScript Engine, task, P3)
Core
JavaScript Engine
Tracking
()
NEW
People
(Reporter: jandem, Unassigned)
References
(Blocks 1 open bug)
Details
V8 recently imported the Dragonbox library for double to string conversions: https://github.com/jk-jeon/dragonbox
JSC started using this 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.
Reporter | ||
Comment 1•8 days ago
|
||
The WebKit pull request from 2023 mentions JetStream improvements. Not sure if that also applies to JetStream 3 but it's worth investigating.
Blocks: jetstream3
Updated•2 days ago
|
Severity: -- → N/A
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•