Add instruction to build Valkey with fast_float (#2810)

The `README.md` file is currently missing a section to build Valkey with
`fast_float`, which was introduced in Valkey 8.1 as an optional
dependency (#1260)

Signed-off-by: hieu2102 <hieund2102@gmail.com>
This commit is contained in:
hieu2102 2025-11-06 16:45:12 +07:00 committed by GitHub
parent 32844b8b0a
commit cf7a628ada
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 0 deletions

View File

@ -52,6 +52,13 @@ as libsystemd-dev on Debian/Ubuntu or systemd-devel on CentOS) and run:
% make USE_SYSTEMD=yes % make USE_SYSTEMD=yes
Since Valkey version 8.1, `fast_float` has been introduced as an optional
dependency, which can speed up sorted sets and other commands that use
the double datatype. To build with `fast_float` support, you'll need a
C++ compiler and run:
% make USE_FAST_FLOAT=yes
To append a suffix to Valkey program names, use: To append a suffix to Valkey program names, use:
% make PROG_SUFFIX="-alt" % make PROG_SUFFIX="-alt"