Re:Effortless Performance Improvements in C++: std:vector
by rhdunn on Wednesday March 08, 2023 @06:10PM
(#35076077)
That follows one of the core optimization strategies: "do less work", or more precisely, "don't do work you aren't going to use, and don't repeat work you've already done". Here, the extra work is that of copying the token text to create new string objects.
[ Parent
| on HN ]
There are no comments on this comment yet.