From 448e6c8fd9c7f75050c6aac59a7e4e25291f349f Mon Sep 17 00:00:00 2001 From: HedgehogInTheCPP Date: Sat, 10 Oct 2026 18:37:15 +0300 Subject: [PATCH] reduce data cache pressure. --- include/fast_float/ascii_number.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fast_float/ascii_number.h b/include/fast_float/ascii_number.h index d461ca9..05addf5 100644 --- a/include/fast_float/ascii_number.h +++ b/include/fast_float/ascii_number.h @@ -474,8 +474,8 @@ enum class parse_error : uint_fast8_t { template struct parsed_number_string_t { FASTFLOAT_NO_UNIQUE_ADDRESS am_mant_t mantissa; - FASTFLOAT_NO_UNIQUE_ADDRESS am_pow_t exponent; FASTFLOAT_NO_UNIQUE_ADDRESS UC const *lastmatch; + FASTFLOAT_NO_UNIQUE_ADDRESS am_pow_t exponent; // The field order matters: placing 'error' next to the booleans avoids // padding, keeping the struct at 64 bytes on 64-bit systems instead of 72.