add __forceinline to std::unreachable instead of inline#3055
Conversation
Co-authored-by: Alexander Bessonov <[email protected]>
|
This looks extremely reasonable to me, personally - we know that MSVC does not consider |
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 @strega-nil-ms, and @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 [email protected]
From #3051
And we already use
__forceinlinethere:STL/stl/inc/xcharconv_ryu.h
Line 166 in febb643