The code was only allocating memory for the next insertion leading to a reallocation of the whole data for every single insertion. The code now reserves some space and uses a decent growth strategy to avoid repeated reallocs. Change-Id: I48b0feab71ba8ca73e7037f8460080f198b2f009 Reviewed-by: Jamey Hicks <jamey.hicks@nokia.com> |
||
|---|---|---|
| .. | ||
| json.pro | ||
| numbers.json | ||
| test.json | ||
| tst_bench_qtbinaryjson.cpp | ||