mirror of
https://github.com/fastfloat/fast_float.git
synced 2026-11-09 22:59:51 +08:00
reduce data cache pressure.
This commit is contained in:
parent
ad630d9c2e
commit
448e6c8fd9
@ -474,8 +474,8 @@ enum class parse_error : uint_fast8_t {
|
|||||||
|
|
||||||
template <typename UC> struct parsed_number_string_t {
|
template <typename UC> struct parsed_number_string_t {
|
||||||
FASTFLOAT_NO_UNIQUE_ADDRESS am_mant_t mantissa;
|
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 UC const *lastmatch;
|
||||||
|
FASTFLOAT_NO_UNIQUE_ADDRESS am_pow_t exponent;
|
||||||
|
|
||||||
// The field order matters: placing 'error' next to the booleans avoids
|
// 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.
|
// padding, keeping the struct at 64 bytes on 64-bit systems instead of 72.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user