mirror of
https://github.com/nlohmann/json.git
synced 2026-11-12 07:00:46 +00:00
The push_back loop is not vectorized: reading a 1 kB string took about 2.2 us against 0.39 us with resize and direct element access (clang -O2). Signed-off-by: Niels Lohmann <mail@nlohmann.me>