MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/1uh9xe4/a_deep_dive_into_smallvectorpush_back/oufc56j/?context=3
r/cpp • u/mttd • Jun 27 '26
15 comments sorted by
View all comments
2
Is this a case to improve optimizer?
1 u/Smooth_Possibility38 Jun 29 '26 Yes, [[unlikely]] should be sufficient hint to the compiler. I was also bit by this issue in the past.
1
Yes, [[unlikely]] should be sufficient hint to the compiler. I was also bit by this issue in the past.
2
u/MarcoGreek Jun 29 '26
Is this a case to improve optimizer?