2 ms·
FWIW there is also absl::from_chars, with some included benchmarks and results at the bottom of the benchmark code. https://github.com/abseil/abseil-cpp/blob/m
by jeffbee 6y ago
FWIW there is also absl::from_chars, with some included benchmarks and results at the bottom of the benchmark code.
https://github.com/abseil/abseil-cpp/blob/master/absl/strings/charconv_benchmark.cc https://github.com/abseil/abseil-cpp/blob/master/absl/string...
ETA: I adapted the benchmark in the blog to use absl::from_chars and it's more than twice as fast as strtod.