mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
introducing a thread-local parser and removing ranges (#2412)
* introducing a thread-local parser * adding functionality to release the memory * some more documentation. * fixing build * adding benchmarks for 'from' * generalizing the code somewhat. * adding tests, fixing the benchmark (now with arrays and streams), and a minor update to document_stream * adding missing files (I forgot to check them). * We cannot use [[nodiscard]] without guarding it, it is C++17 * fixing the cmake * marking it as experimental * removing ranges support (it is too experimental) * putting back documentation. * guarding SIMDJSON_CONSTEVAL more carefully. --------- Co-authored-by: Daniel Lemire <dlemire@lemire.me>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* auto-generated on 2025-08-05 16:29:59 +0000. version 4.0.0 Do not edit! */
|
||||
/* auto-generated on 2025-08-12 19:38:50 -0400. version 4.0.0 Do not edit! */
|
||||
/* including simdjson.cpp: */
|
||||
/* begin file simdjson.cpp */
|
||||
#define SIMDJSON_SRC_SIMDJSON_CPP
|
||||
@@ -1039,9 +1039,9 @@ using std::operator<<;
|
||||
#endif
|
||||
|
||||
#if nssv_HAVE_NODISCARD
|
||||
# define nssv_nodiscard [[nodiscard]]
|
||||
# define nssv_nodiscard simdjson_warn_unused
|
||||
#else
|
||||
# define nssv_nodiscard /*[[nodiscard]]*/
|
||||
# define nssv_nodiscard /*simdjson_warn_unused*/
|
||||
#endif
|
||||
|
||||
// Additional includes:
|
||||
|
||||
+1089
-496
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Reference in New Issue
Block a user