Skip to content

Commit 6be07d6

Browse files
committed
inlining Clinger's fast path because why not,
and it seems to bring performance to the level before the changes somewhat
1 parent cc90f24 commit 6be07d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/fast_float/parse_number.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ from_chars(UC const *first, UC const *last, T &value,
189189
}
190190

191191
template <typename T>
192-
FASTFLOAT_CONSTEXPR20 bool
192+
fastfloat_really_inline FASTFLOAT_CONSTEXPR20 bool
193193
clinger_fast_path_impl(uint64_t mantissa, int64_t exponent, bool is_negative,
194194
T &value) noexcept {
195195
// The implementation of the Clinger's fast path is convoluted because

0 commit comments

Comments
 (0)