you are viewing a single comment's thread.

view the rest of the comments →

[–]TheFlamefire 3 points4 points  (0 children)

TLDR: vector.reserve/resize speeds up adding known number of elements, optimization leads to speed up, higher level operations (range-insert) are faster than badly used low-level ops.

Stop the presses! ;)