mirror of
https://github.com/nlohmann/json.git
synced 2026-11-03 19:29:22 +00:00
- The 10 to 20 % figure compares parsing from a std::ifstream with reading the file into a string with one read() and parsing that; reading with istreambuf_iterator is about twice as slow as parsing from the stream. - Say that replacing a file is general C++ advice, not library behaviour. - std::filesystem::rename fails across file systems (EXDEV) instead of falling back to a copy. Signed-off-by: Niels Lohmann <mail@nlohmann.me>