From cd4aafd2f6f8c48d71fd8d36b142f2131d337fb5 Mon Sep 17 00:00:00 2001 From: IRainman Date: Sun, 5 Jul 2026 20:49:18 +0300 Subject: [PATCH] # alignment next step performance: original now perform my program test for 133704ms and my fork give more significant performance improve than before: 105259ms. --- include/fast_float/ascii_number.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/fast_float/ascii_number.h b/include/fast_float/ascii_number.h index 61b2b94..9d14407 100644 --- a/include/fast_float/ascii_number.h +++ b/include/fast_float/ascii_number.h @@ -288,7 +288,8 @@ enum class parse_error : uint_fast8_t { template struct parsed_number_string_t { am_mant_t mantissa; - + am_pow_t exponent; + UC const *lastmatch; #ifndef FASTFLOAT_ONLY_POSITIVE_C_NUMBER_WO_INF_NAN bool negative; #endif @@ -296,12 +297,9 @@ template struct parsed_number_string_t { bool too_many_digits; parse_error error; - am_pow_t exponent; - // contains the range of the significant digits span integer; // non-nullable span fraction; // nullable - UC const *lastmatch; }; using byte_span = span;