5 ms·
Novices also sometimes erroneously pass std::vector by value, that doesn't mean std::vector is slow. Maybe you did not read the entire post before linking it. T
by detrino 13y ago
Novices also sometimes erroneously pass std::vector by value, that doesn't mean std::vector is slow. Maybe you did not read the entire post before linking it. The conclusion was he changed his code to pass by reference and 17.77% became .27%.
- eliasmacpherson 13y agoThanks for pointing that out, I had heard horror stories before and was willing to take 17.77% at face value!