John Keiser
0e28a8312d
Actually use new algorithm for borrows
2023-08-31 01:38:57 -04:00
John Keiser
5b7acd2aa7
Don't send or receive commas
2023-08-30 15:00:41 -04:00
John Keiser
61ef447595
Fix subtraction to use fewer instructions
2023-08-30 14:59:35 -04:00
John Keiser
76dd137c87
Make it compile
2023-08-29 18:25:20 -04:00
John Keiser
589ef23b56
Better bitmask subtraction
2023-08-29 18:25:20 -04:00
John Keiser
4b1148384e
More betterer simd
2023-08-29 18:25:20 -04:00
John Keiser
70674d2dbd
Add no_bits_set to simd8x64
2023-08-29 18:25:20 -04:00
John Keiser
f594a49a4b
Move bitmask methods into namespace, add subtract_borrow_out
2023-08-29 18:25:20 -04:00
John Keiser
54cbebfd29
Initial speculative parsing scanner
2023-08-29 18:25:20 -04:00
John Keiser
c6e43a631c
Add byte_classifier abstraction to make lookup tables readable.
2023-08-29 18:25:20 -04:00
John Keiser
075bfb173b
Add eq_any()
2023-08-29 18:25:20 -04:00
John Keiser
a88ad515c2
Define single simd_t for easier copy/paste
2023-08-29 18:25:20 -04:00
John Keiser
78b4c0aa6e
Make simd constexpr
2023-08-29 18:25:20 -04:00
Daniel Lemire
b2e20e04c9
Standard compatibility fixes ( #2053 )
...
* Standard compatibility fixes
* missing commit
* Should work.
* Fix.
* Fix.
* Should work now.
---------
Co-authored-by: Daniel Lemire <dlemire@lemire.me >
2023-08-25 10:18:02 -04:00
Daniel Lemire
bf849e3619
Preparing release
2023-08-22 14:05:14 -04:00
Daniel Lemire
c09e8dc225
Icelake processes 64 bytes at a time when processing strings. ( #2050 )
...
Co-authored-by: Daniel Lemire <dlemire@lemire.me >
2023-08-18 14:37:10 -04:00
Daniel Lemire
f043db4dca
Preparing release.
2023-08-02 16:01:39 -04:00
Daniel Lemire
e3bd0828d1
Fix for issue 2045. ( #2046 )
...
* Fix for issue 2045.
* Retauring single-header code.
2023-08-02 16:00:45 -04:00
John Keiser
06afe9ecb3
New escape algorithm with significantly less data dependency
2023-08-02 08:28:05 -07:00
John Keiser
2ccd5b9c97
Merge pull request #2039 from simdjson/jkeiser/more-headers
...
Disallow including headers from implementation files
2023-07-21 12:09:57 -07:00
Daniel Lemire
1cdcbf79b3
We do actually support legacy 32-bit systems, although not with fast kernels. ( #2041 )
2023-07-21 13:53:10 -04:00
Calum McConnell
7013ed98cc
Peek(0) is an error on 32-bit systems, where pointers are indistinguishable from int32_t ( #2040 )
2023-07-21 13:52:53 -04:00
John Keiser
b383c717d7
Have amalgamate.py verify it's actually amalgamating all the files
2023-07-20 15:11:52 -07:00
John Keiser
ae9ba2bed2
Rename SIMDJSON_AMALGAMATED to SIMDJSON_CONDITIONAL_INCLUDE
2023-07-20 11:43:19 -07:00
John Keiser
bb54946b78
Disallow including headers from implementation files
2023-07-20 10:01:22 -07:00
John Keiser
e3cac71afe
Enforce that dependencies.h and generic/*.h include the same dependencies.
2023-07-17 16:07:42 -07:00
John Keiser
cbe562c1d5
Fix header define names for inline files
2023-07-17 13:55:07 -07:00
John Keiser
30437d0ff6
A few header fixes for dom and ondemand
2023-07-17 13:53:50 -07:00
John Keiser
1e97af7dfb
Merge pull request #2031 from simdjson/jkeiser/vscode-green
...
Get headers compiling in editor
2023-07-17 13:07:20 -07:00
John Keiser
a74e87df17
Merge pull request #2026 from Cuda-Chen/pretty-print-for-dom
...
Add pretty print for DOM
2023-07-17 12:38:20 -07:00
Daniel Lemire
a170145d5b
Missing header.
2023-07-17 11:48:07 -04:00
Daniel Lemire
7d1d635883
Adding missing umul
2023-07-17 10:04:57 -04:00
John Keiser
25dfb078c7
A few random header include ordering fixes
2023-07-16 22:50:54 -07:00
John Keiser
9f0710e3ad
Move full_multiplication to <implementation>/numberparsing_defs.h
2023-07-16 22:34:21 -07:00
John Keiser
7540248396
Include simdprune_tables.h in generic implementations
2023-07-16 19:19:10 -07:00
John Keiser
ab09e96de9
Only use amalgamated.h in generic/
2023-07-16 19:18:58 -07:00
John Keiser
62868a2f53
Catch more headers without which it won't compile
2023-07-15 17:16:18 -07:00
John Keiser
efe3d4b7d7
Few more missing headers, make it even stricter
2023-07-15 16:55:27 -07:00
John Keiser
28db262b47
Make SIMDJSON_AMALGAMATED checking much stricter
2023-07-15 16:46:15 -07:00
John Keiser
e25a40facf
Check if amalgamation rules are not being followed while compiling
2023-07-15 15:47:14 -07:00
John Keiser
a442842f0d
Use SIMDJSON_AMALGAMATED (which works in-editor and out) instead of editor-specific tweaks
2023-07-15 14:53:02 -07:00
John Keiser
7dff5fa37c
Include intrin.h from jsoncharutils.h since it's needed
2023-07-14 20:53:47 -07:00
John Keiser
9a0527c380
Only make editor stuff work in editor
2023-07-14 20:05:05 -07:00
John Keiser
553ee69b7c
Make implementation .h/.cpp compile
2023-07-08 11:42:57 -07:00
John Keiser
bf70cd0ebf
Get headers compiling in editor
2023-07-08 10:47:15 -07:00
Cuda-Chen
cf0551edf5
Add pretty print for DOM
...
Add pretty print for DOM with documentation.
Currently, the indentation is fixed to four spaces.
Close #1329 .
2023-07-08 21:09:57 +08:00
yongxiangng
ddb094d550
Move should log into separate if clause
2023-07-08 13:07:25 +08:00
Yong Xiang Ng
975fdda03c
Add fine grain logging
2023-07-07 12:11:27 +08:00
Daniel Lemire
c5c43e9c7f
Release
2023-07-06 21:48:59 -04:00
Daniel Lemire
031ee32969
Undoing PR 2004 due to performance concerns. ( #2029 )
...
* Undoing PR 2004 due to performance concerns.
Fixes https://github.com/simdjson/simdjson/issues/2028
Fixes https://github.com/simdjson/simdjson/issues/2021
* Adding final lines.
---------
Co-authored-by: Daniel Lemire <dlemire@lemire.me >
2023-07-06 21:34:14 -04:00