tgockel / json-voorhees

A killer modern C++ library for interacting with JSON.
http://tgockel.github.io/json-voorhees/
Apache License 2.0
128 stars 18 forks source link

Change array implementation to std::vector #144

Closed tgockel closed 4 years ago

tgockel commented 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.