comparison with short (< 16 chars) local const std::string
is slower when it is static
#60165
Labels
const std::string
is slower when it is static
#60165
Split from #58002.
https://quick-bench.com/q/A3FPfNV6Cds2TwwBvSRwT6klxLg
This applies to all strings with less than 16 characters.
This does not happen with GCC where
static
is always faster no matter the length:https://quick-bench.com/q/hPor-y8JDwcMBEnT_oOv79nF43g
https://quick-bench.com/q/4Ef2dOfaBuhCd0QkKBRVVCXamjI
The text was updated successfully, but these errors were encountered: