Daniel Lemire
Daniel Lemire
Since one goal is to eventually move this library toward supporting `from_chars` fully, I am not sure I like the idea of sacrificing the general case for what I see...
It is possible to process 4 words at once. Consider using... ```C++ // returns a value with the high 16 bits set if not valid // otherwise returns the conversion...
I had a quick look and it looks good. Of course, we would like to have serious unit tests.
@Andersama I also do not know how to handle error conditions or out-of-scope values... but we can figure that out.
Pull request invited!
> It would be nice to have a fast string to integer/unsigned parser with similar performance. The reason it is not provided is that it is a far easier problem...
I believe that the state-of-the-art is [Schubfach algorithm's](https://github.com/simdjson/simdjson/pull/1168#issuecomment-691413140) but I did not find a C++ implementation that I liked. In simdjson, [we adopted Grisu2](https://github.com/simdjson/simdjson/blob/master/src/to_chars.cpp) which is not as good, but...
Schubfach is the high-level algorithm and not a formatter per se, so you are correct that it does not do everything (nor is it meant to). I have not looked...
> If you look at the data on the linux sizes, fast float is above 1.3MB It is a header-only library, but let us look at the size of the...
Regarding benchmarking, I do have a pretty decent one there: https://github.com/lemire/simple_fastfloat_benchmark It used to support Visual Studio, but over several rounds of reengineering, I broke compatibility with Visual Studio. This...