Files
json/include
Niels Lohmann 072ee2af83 Collect up to 64 members of an ordered_json object on the stack
The DOM parser collects the members of an ordered_json object on a stack
and moves them into a vector of the exact size at the closing brace. Objects
with more than 32 members were spilled into a growing vector, which then
took the linear-search operator[] until the key index starts at 64 members.
Collecting up to 64 members closes that gap: an object either fits on the
stack or is spilled straight into the indexed path.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-29 11:31:47 +01:00
..