-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider adopting fast_double_parser #182
Comments
Right now I have put off doing SIMD for the Real number parsing and have got good performance parsing all the available significant digits of the result type, parsing the exponent, then building from there as s * 10^e. This has the beauty of working at compile time. I see the other project of yours that was referenced for the from_chars interface https://github.com/lemire/fast_float probably fits better as I have no requirement of a trailing zero on the buffer being parsed. I can try it out, but I would be unable to use it with the current license I don't think, my project is licensed under BSL1.0 and they are under Apache 2.0. |
(Note that it is entirely up to you. I just wanted you to be aware of the option.) |
I would like to look at using Due to the nature of the JSON parser if I have to skip the number, but need to parse it later, I use a different parser with information saved from the skip. Either way, the compute_float_64 function of yours having the property of exact parsing is super useful and with a license compatible with BSL1.0 could probably help. |
@beached Added a secondary license just now (BSL1.0). |
https://github.com/lemire/fast_double_parser and started making it constexpr
path that sent to strtod as that requires the input source.
I have no investigated the float parsing in daw_json_link, but I wanted to make sure you were aware that we have packaged the fast number parsing routine from the simdjson library into its own single-header library: https://github.com/lemire/fast_double_parser
This library provides exact parsing at high speed (under Linux, freeBSD, macOS, Visual Studio).
Feel free to close this issue if it is not relevant.
The text was updated successfully, but these errors were encountered: