# alignment next step performance: original now perform my program test for 133704ms and my fork give more significant performance improve than before: 105259ms.

This commit is contained in:
IRainman 2026-07-05 20:49:18 +03:00
parent eef7133edc
commit cd4aafd2f6

View File

@ -288,7 +288,8 @@ enum class parse_error : uint_fast8_t {
template <typename UC> 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 <typename UC> struct parsed_number_string_t {
bool too_many_digits;
parse_error error;
am_pow_t exponent;
// contains the range of the significant digits
span<UC const> integer; // non-nullable
span<UC const> fraction; // nullable
UC const *lastmatch;
};
using byte_span = span<char const>;