Files
json/single_include/nlohmann
Niels Lohmann a3b9e9c712 Write the members of a BON8 object with scalar values without a call each
As for the other formats: a member with a null, boolean, number, or string
value is written by the loop over the members, without a call of
write_bon8_value() for its value. A number above the int64 range, which BON8
cannot write (also with a number type wider than 64 bits), still goes through
write_bon8_value(), which throws as before.

Instructions per call (Linux, GCC 13, thousands), to_bon8: 20000 small objects 20741 -> 18164, twitter 5526 -> 5123, citm_catalog 7335 -> 7107.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-10-22 09:29:21 +02:00
..