mirror of https://mirror.osredm.com/root/redis.git
![]() Fixes #8825 We're using the fast_float library[1] in our (compiled-in) floating-point fast_float_strtod implementation for faster and more portable parsing of 64 decimal strings. The single file fast_float.h is an amalgamation of the entire library, which can be (re)generated with the amalgamate.py script (from the fast_float repository) via the command: ``` python3 ./script/amalgamate.py --license=MIT > $REDIS_SRC/deps/fast_float/fast_float.h ``` [1]: https://github.com/fastfloat/fast_float The used commit from fast_float library was the one from https://github.com/fastfloat/fast_float/releases/tag/v3.10.1 --------- Co-authored-by: fcostaoliveira <filipe@redis.com> |
||
---|---|---|
.. | ||
Makefile | ||
README.md | ||
fast_float.h | ||
fast_float_strtod.cpp | ||
fast_float_strtod.h |
README.md
README for fast_float v6.1.4
We're using the fast_float library1 in our (compiled-in) floating-point fast_float_strtod implementation for faster and more portable parsing of 64 decimal strings.
The single file fast_float.h is an amalgamation of the entire library, which can be (re)generated with the amalgamate.py script (from the fast_float repository) via the command
git clone https://github.com/fastfloat/fast_float
cd fast_float
git checkout v6.1.4
python3 ./script/amalgamate.py --license=MIT \
> $REDIS_SRC/deps/fast_float/fast_float.h