mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 08:46:49 +08:00
inlining Clinger's fast path because why not,
and it seems to bring performance to the level before the changes somewhat
This commit is contained in:
parent
cc90f240ee
commit
6be07d66a8
@ -189,7 +189,7 @@ from_chars(UC const *first, UC const *last, T &value,
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
FASTFLOAT_CONSTEXPR20 bool
|
fastfloat_really_inline FASTFLOAT_CONSTEXPR20 bool
|
||||||
clinger_fast_path_impl(uint64_t mantissa, int64_t exponent, bool is_negative,
|
clinger_fast_path_impl(uint64_t mantissa, int64_t exponent, bool is_negative,
|
||||||
T &value) noexcept {
|
T &value) noexcept {
|
||||||
// The implementation of the Clinger's fast path is convoluted because
|
// The implementation of the Clinger's fast path is convoluted because
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user