Faster and simpler UTF-8 validation with the lookup4 algorithm #993
We improved the performance of simdjson under Visual Studio by about 25%. Users will still get better performance with clang-cl (+30%) but the gap has been reduced. #1031
Code usability
In parse_many, when parsing streams of JSON documetns, we give to the users runtime control as to whether threads are used (via the parser.threaded attribute). #925
Prefixed public macros to avoid name clashes with other libraries. #1035
We improved standard compliance with respect to both the JSON RFC 8259 and JSON Pointer RFC 6901. We added the at_pointer method to nodes for standard-compliant JSON Pointer queries. The legacy at(std::string_view) method remains but is deprecated since it is not standard-compliant as per RFC 6901.
We removed computed GOTOs without sacrificing performance thus improving the C++ standard compliance (since computed GOTOs are compiler-specific extensions).
Version 0.5.0
https://ift.tt/3hjQkgs
Performance
Code usability
parse_many
, when parsing streams of JSON documetns, we give to the users runtime control as to whether threads are used (via the parser.threaded attribute). #925Standards
at(std::string_view)
method remains but is deprecated since it is not standard-compliant as per RFC 6901.via Release notes from simdjson https://ift.tt/3eoyyad
August 19, 2020 at 05:13PM