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!
135
Upvotes
View all comments
Show parent comment
-5
u/BrianChampBrickRon Feb 16 '26
The fastest solution is you don't log. The second fastest solution is whatever is fastest on your machine after you profile. I believe they're saying you need to intimately know exactly what architecture you're on.