[Webkit-unassigned] [Bug 221178] Investigate replacing double_conversion library with fast_float

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 30 12:41:12 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=221178

--- Comment #5 from Sam Weinig <sam at webkit.org> ---
(In reply to Yusuke Suzuki from comment #4)
> Ah, no. EmberDebug is for double->string. This library is string->double. So
> some of JSON benchmark can get benefit.

There are a few other things that might help that case.

1) We could try updating the version of double_conversion we have to the latest release. Not sure how long it's been since we last pulled in anything, so there might just be free wins there,

2) There are other libraries and papers that focus on the float -> string case:
- https://github.com/abolz/Drachennest/
- the MSVC STL has a supposedly very fast version in std::to_chars (https://youtu.be/4P_kbF0EbZM is a fun talk if you are into that kind of thing)
- https://news.ycombinator.com/item?id=24917659 has some additional discussion

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210130/9c5a0277/attachment.htm>


More information about the webkit-unassigned mailing list