Daniel Lemire
47beaff152
Adding white-listing for memory sanitizer.
2019-05-19 11:18:54 -04:00
Daniel Lemire
f75280ac9c
Fix for issue 150 ( #162 )
...
* Checks for issue 150. We run through the test files with sanitizers on.
* Fix for issue 150: the remaining issues were an overrun on the depth capacity and an "off-by-1" overrun on tape capacity.
* Improving makefile.
* Safer git submodule command.
* Getting get 'git' on circleci
2019-05-09 20:51:33 -04:00
Daniel Lemire
f0574d492c
Fix for issue 154 ( #157 )
...
* Changes necessary to reproduce
https://github.com/lemire/simdjson/issues/154
* Fixing issue 154.
2019-05-08 22:33:11 -04:00
Daniel Lemire
0d81fd287e
With this commit we can do all tests with full sanitizers on, and get no warning ( #132 )
...
* Making sure we can run with the sanitizers on.
* Minor code simplification in the number parsing.
* Following @EmilGedda 's recommendations regarding the makefile.
* Reference to blog post.
* Adding link to https://johnnylee-sde.github.io/Fast-numeric-string-to-int/
* Better hex parsing.
2019-04-24 17:31:47 -04:00
Emil Gedda
f4a06036c6
Allows additional C(XX)FLAGS to be passed through command line ( #142 )
...
* Allow passing additional compiler flags through command line
* Simplify branching for compiler flags
* Optimize for debug while debugging or sanitizing specified
2019-04-16 22:07:03 -04:00
Daniel Lemire
df8f792183
Store the string lengths on the string tape ( #101 )
...
* Store string length in the string-tape item.
* Files are now limited to 4GB.
* Moving detection of unescaped chars to stage 1 to reduce the burden due to string parsing.
Fixes https://github.com/lemire/simdjson/issues/114
Fixes https://github.com/lemire/simdjson/issues/87
2019-03-13 19:32:57 -04:00
Thomas Navennec
352dd5e7fa
Change parse_json return type from bool to int ( #82 )
...
* Added simdjerr namespace
* Updated jsonparser files
* updated stage1 and stage2
* removed stage2 inline function
* Added forgotten return statements
* Updated tools and benchmarks
* Corrected parenthesis
* Removed extra =
* Accidentally undid reinterpret_cast
* Better comments, undid a header name fuckup
* Added an errorMsg method, updated readme
* Removed useless header from stage2
* Updated single-header file
* added simdjerr.cpp contents to simdjson.cpp
* Made single header version work
* Updated singleheader test, fixed simdjson.cpp
* Renamed simdjerr namespace and files to simdjson
* Updating the amalgamation.
2019-03-02 17:18:45 -05:00
Daniel Lemire
3640ab9dd3
Fixing the makefile build.
2019-02-22 15:34:35 -05:00
Daniel Lemire
d2cc4c3037
Use tabs please.
2019-02-22 14:12:16 -05:00
Daniel Lemire
37d7f275ac
Introducing a quiet test (for automated testing).
2019-02-22 14:09:03 -05:00
Daniel Lemire
1b115dbd3a
Adding jsoncpp
2019-01-24 14:28:26 -05:00
Daniel Lemire
5e9002971e
Fix in Makefile.
2019-01-17 19:16:46 -05:00
Daniel Lemire
974babf69f
Adding more competition.
2019-01-17 17:24:29 -05:00
Daniel Lemire
86de53ab17
Minor tweaks.
2019-01-03 19:05:21 +00:00
Daniel Lemire
3ce1dd8087
Cleaning.
2018-12-31 17:13:32 -05:00
Daniel Lemire
3803c84452
Single-header version.
2018-12-30 21:50:10 -05:00
Daniel Lemire
bf4089b33b
Removing custom types (more standard code).
2018-12-27 20:09:25 -05:00
Daniel Lemire
061c62a5da
Let us try this.
2018-12-24 12:28:27 -05:00
Daniel Lemire
4ae8d6441e
Adding jsonstats tool.
2018-12-22 12:13:42 -05:00
Daniel Lemire
20133963bc
Trying a detailed analysis.
2018-12-19 21:23:37 -05:00
Daniel Lemire
e979a0c93f
Simplifying the build
2018-12-19 00:40:04 -05:00
Daniel Lemire
1dfceb551e
Updating documentation.
2018-12-14 21:50:55 -05:00
Daniel Lemire
0769c39e27
Ok. Looks complete.
2018-12-14 21:32:42 -05:00
Daniel Lemire
751dce98f5
Getting there slowly.
2018-12-11 22:39:39 -05:00
Daniel Lemire
0b48fb8bd7
Removing memory leaks.
2018-12-11 17:20:29 -05:00
Daniel Lemire
e2d2d2f8ff
Adding more tests.
2018-12-06 17:22:22 -05:00
Daniel Lemire
c8706c66ec
Solving some build issues
2018-12-05 21:33:32 -05:00
Daniel Lemire
e3a4b41c2e
Cleaning.
2018-11-30 22:02:32 -05:00
Daniel Lemire
e5707331e9
Some refactoring.
2018-11-30 09:37:57 -05:00
Daniel Lemire
a43b0772e1
Lots and lots of cleaning.
2018-11-27 14:37:59 -05:00
Daniel Lemire
5bdf19bb18
Removing parsers that are unfair.
2018-11-20 20:08:02 -05:00
Daniel Lemire
e4d4158e3f
Added dependencies.
2018-11-20 16:43:22 -05:00
Daniel Lemire
bbff6c3edb
Added another ref.
2018-11-20 14:32:12 -05:00
Daniel Lemire
7647cb2e49
Added dropbox
2018-11-20 14:09:43 -05:00
Daniel Lemire
78e75a8bae
Even faster.
2018-11-20 11:56:10 -05:00
Daniel Lemire
76074a821f
Various cleaning steps.
2018-11-09 21:31:14 -05:00
Daniel Lemire
c1a7e79862
Lifting the mem limit. (Dirty commit.)
2018-11-09 15:16:05 -05:00
Daniel Lemire
18633e02d2
Added more thorough testing.
2018-10-23 20:19:33 -04:00
Daniel Lemire
9738af68c8
Fixing up the code point parsing. I think that what is there is now correct.
...
I believe that there was a case of early optimization.
2018-10-19 22:07:22 -04:00
Daniel Lemire
e517414080
We include character-encoding validation.
2018-10-17 19:22:09 -04:00
Daniel Lemire
6cc5131f7a
Adding an allparserscheckfile program.
2018-10-17 12:00:44 -04:00
Daniel Lemire
431aed6e88
Going to "-O3" as the results are better with GCC.
2018-09-30 19:55:22 -04:00
Geoff Langdale
ceb55cc8db
Pick new number parser as winner; move string parsing to own header
2018-09-28 14:27:48 +10:00
Daniel Lemire
577d6792f4
Integrating sajson.
2018-09-28 00:00:52 -04:00
Daniel Lemire
ecbe1158ed
Added testing for number parsing.
2018-09-27 20:26:27 -04:00
Daniel Lemire
e4094afe08
Moving toward having number-parsing testing.
2018-09-27 17:38:15 -04:00
Daniel Lemire
1c8339297d
With new number parser (faster!). Removing the dependency on the doubleconv library (which proves to be useless).
2018-09-26 23:35:33 -04:00
Geoff Langdale
9f91650e72
Remove old 4-stage path.
2018-09-26 15:22:55 +10:00
Daniel Lemire
cb26dc9c7b
Creating a unified binary
2018-09-25 17:20:54 -04:00
Geoff Langdale
053f04b15d
Crude first cut of "stage34", a unified code-based DFA with explicit stack for stages 3 and 4.
2018-09-24 10:42:30 +10:00