Repository navigation
add __forceinline to std::unreachable instead of inline - #3055
Stephan T. Lavavej (StephanTLavavej) merged 1 commit into
Conversation
Co-authored-by: Alexander Bessonov
|
This looks extremely reasonable to me, personally - we know that MSVC does not consider |
nicole mazzuca (strega-nil-ms)
left a comment
There was a problem hiding this comment.
If the rest of the team thinks this is reasonable, this is obviously the correct way to implement this.
|
I agree with nicole mazzuca (@strega-nil-ms), and Alex Bessonov (@AlexBAV)'s codegen example https://godbolt.org/z/a9d33hc5b shows that this makes a difference for |
|
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed. |
|
Thanks for improving the STL's performance to previously unreachable levels! 📈 🚀 😹 |
You're always welcome :) |
Co-authored-by: Alexander Bessonov alexbav@hhdsoftware.com
From #3051
And we already use
__forceinlinethere:STL/stl/inc/xcharconv_ryu.h
Line 166 in febb643