json/test
Niels Lohmann 224f99070b
micro-optimization of dump()
A lot of small changes to avoid memory allocations:

- The locale is only queried once rather than with every number
serialization.
- The indentation string is recycled between different calls.
- The string escape function avoids a copy if no escaping is necessary.
- The string escape and the space function use a complete switch case
instead of cascaded ifs.

Cachegrind measures some 15% performance improvement.
2017-02-28 16:28:22 +01:00
..
data added Big List of Naughty Strings 2017-01-16 20:03:50 +01:00
reports added fuzzing results 2016-10-02 11:23:47 +02:00
src micro-optimization of dump() 2017-02-28 16:28:22 +01:00
thirdparty ⬆️ updated Catch to v1.7.2 2017-02-13 18:55:11 +01:00
CMakeLists.txt cmake compile time reduce using cotire 2017-02-19 13:35:54 +05:30
Makefile 🐛 fixed test compilation 2017-02-04 08:25:55 +01:00