r/cpp • • 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!

135 Upvotes

185 comments sorted by

View all comments

Show parent comment

4

u/joemaniaci Feb 16 '26

Where do you guys get the time? At my job we have so much overhead I can go weeks without doing any actual C++

2

u/theICEBear_dk Feb 16 '26

Damn, I am in a senior role at the moment and even I get to write or edit 1000 lines of code each week.

But of course if you are working with something like functional safety your life will be paperwork and testing more than coding.

3

u/VictoryMotel Feb 16 '26

If you go weeks without programming you don't have a programming job.