From dc46ad4c606dc35cb63c947496a18ef8ab1e0f44 Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Mon, 19 Oct 2020 21:30:18 -0400 Subject: [PATCH] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 58199ed..ff2a199 100644 --- a/README.md +++ b/README.md @@ -53,12 +53,16 @@ int main() { } ``` + Like the C++17 standard, the `fast_float::from_chars` functions take an optional last argument of the type `fast_float::chars_format`. It is a bitset value: we check whether `fmt & fast_float::chars_format::fixed` and `fmt & fast_float::chars_format::scientific` are set to determine whether we allow the fixed point and scientific notation respectively. The default is `fast_float::chars_format::general` which allows both `fixed` and `scientific`. +We support Visual Studio, macOS, Linux, freeBSD. + + ## How fast is it? It can parse random floating-point numbers at a speed of 1 GB/s on some systems. We find that it is often twice as fast as the best available competitor, and many times faster than many standard-library implementations. @@ -72,6 +76,8 @@ abseil : 521.66 MB/s (+/- 3.2 %) 24.86 Min fastfloat : 1061.86 MB/s (+/- 3.8 %) 50.61 Mint/s ``` +See https://github.com/lemire/simple_fastfloat_benchmark for our benchmarking code. + ## Using as a CMake dependency This library is header-only by design. The CMake file provides the `fast_float` target