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!
138
Upvotes
View all comments
Show parent comment
1
u/Both_Helicopter_1834 Feb 17 '26
I'm confused. Are you saying you can't imagine a scenario where you'd want a modified copy of a large object, but you'd also need to keep the original?