Files
json/docs/mkdocs
Niels Lohmann 97ce0e1e5d docs: blog post: comparing already passes the depth; copying measured slower without the counter
operator== walks the standard containers itself and passes the depth as an
argument (#5840). A copy that does the same, inserting element by element,
measured 4-16% slower on an M1 Max with Apple clang, so copying keeps the
thread_local counter.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-06 17:44:50 +01:00
..