[no ci] details

This commit is contained in:
Daniel Lemire 2021-07-30 18:20:37 -04:00 committed by GitHub
parent cb0e4b23c7
commit bd0f5e9322
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -155,6 +155,8 @@ ondemand::document doc = parser.iterate(json, strlen(json), sizeof(json));
We recommend against creating many `std::string` or many `std::padding_string` instances in your application to store your JSON data.
Consider reusing the same buffers and limiting memory allocations.
By default, the simdjson library throws exceptions (`simdjson_error`) on errors. We omit `try`-`catch` clauses from our illustrating examples: if you omit `try`-`catch` in your code, an uncaught exception will halt your program. It is also possible to use simdjson without generating exceptions, and you may even build the library without exception support at all. See [Error Handling](#error-handling) for details.
Documents Are Iterators
-----------------------