r/cpp • u/Little-Reflection986 • Feb 16 '26
Favorite optimizations ??
I'd love to hear stories about people's best feats of optimization, or something small you are able to use often!
136
Upvotes
View all comments
Show parent comment
0
u/CocktailPerson Feb 17 '26
No, of course not. I'm saying I don't want your overload as part of the API. If I want a modified copy, I'll make a copy and modify it. Don't make it easier to do the less-performant thing.