json_view: skip the digits of a fraction 16 bytes at a time (SSE2) (#5971)

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
Niels Lohmann authored and GitHub committed 2026-11-01 17:21:19 +01:00
1 parent 1a018577cc
commit 162eda2574
4 files changed
+152 -2

No files matched your search

+1 -1
View File
@@ -1189,7 +1189,7 @@ indent_done:
{
++p;
const unsigned char* const f0 = p;
p = skip_digits(p, e);
p = skip_fraction_digits(p, e);
if (NLOHMANN_VIEW_UNLIKELY(p == f0))
{
return fail(error_code::number_after_dot);