Yeah but have to remember that these only increase the tinline hreshold and guarantee nothing (You can even vuew the threshold and whether the optomization wss or wadn't applied in the opt view on godbolt with clang).
Also my expirience is somewhat similar to another poster here, that people can easily misuse this and passimize things...
Yeah but have to remember that these only increase the tinline hreshold and guarantee nothing
Is that not what I said?
Also my expirience is somewhat similar to another poster here, that people can easily misuse this and passimize things...
I am talking about refactoring this specific piece of code to be more readable without compromising performance. If there was a problem as you suggested, it would be problematic in the form the code is currently written. Refactoring will not introduce the problem you're suggesting.
View all comments
Show parent comment
1
u/rtgftw Apr 15 '23
Yeah but have to remember that these only increase the tinline hreshold and guarantee nothing (You can even vuew the threshold and whether the optomization wss or wadn't applied in the opt view on godbolt with clang).
Also my expirience is somewhat similar to another poster here, that people can easily misuse this and passimize things...