Closed tgockel closed 4 years ago
std::vector is faster than std::deque for most cases. Since the 2.0 parser knows the size of arrays beforehand, it can reserve the size.
std::vector
std::deque
reserve
std::vector
is faster thanstd::deque
for most cases. Since the 2.0 parser knows the size of arrays beforehand, it canreserve
the size.