John Keiser
b28cafc1d1
Remove backslash unescaping from JSON pointer impl
...
Also speed up non-escaped key lookup
2020-03-25 08:56:40 -07:00
Daniel Lemire
65f999b7b7
Fixes issue 598. ( #608 )
...
* Fixes issue 598.
* Dropping old code.
2020-03-25 11:22:16 -04:00
John Keiser
06d6636b97
Update jsonpointer tool to use new API
2020-03-24 16:35:39 -07:00
John Keiser
eb5a1ea113
Merge pull request #596 from simdjson/jkeiser/json-pointer
...
Support JSON pointer in DOM navigation model
2020-03-24 09:46:39 -07:00
Daniel Lemire
d84e70b6e5
migrating minifier competition to new API ( #597 )
...
* Migrating minifiercompetition to new API.
2020-03-24 10:13:55 -04:00
Daniel Lemire
7ff034504d
Migrating parsingcompetition to new API. ( #593 )
...
* Migrating parsingcompetition to new API.
* Removing ParsedJson
2020-03-24 10:06:44 -04:00
Daniel Lemire
dedf0c6a8d
Merge branch 'master' into jkeiser/json-pointer
2020-03-24 09:51:59 -04:00
Daniel Lemire
5514ae3879
Adding another user.
2020-03-24 09:41:32 -04:00
Daniel Lemire
5af0dfb031
Putting back the fuzzer badge and extending the documentation. ( #587 )
2020-03-24 10:50:27 +01:00
John Keiser
0bcda5e384
Support JSON pointer in DOM navigation model
2020-03-23 15:05:20 -07:00
Daniel Lemire
d1eef242c6
Trying to give better guidance regarding large files. ( #594 )
2020-03-23 18:04:22 -04:00
John Keiser
ceee00b276
Use c++ instead of g++ in quick start for clang
2020-03-23 14:59:13 -07:00
John Keiser
6c2ab064cb
Correct quick start
...
Not sure how this update didn't make it in, but it's necessary.
2020-03-23 14:59:13 -07:00
Daniel Lemire
772a5dc3d5
Updated script so that we generate a small and a large file.
2020-03-23 14:06:10 -04:00
Daniel Lemire
3e39a998ce
Merge branch 'master' of github.com:lemire/simdjson
...
Conflicts:
include/simdjson/jsonstream.h
2020-03-22 12:40:34 -04:00
Daniel Lemire
2867dc50fa
Minor typo.
2020-03-22 12:39:01 -04:00
Bruce Mitchener
c3c43769ae
Fix typos.
2020-03-22 09:14:14 -07:00
John Keiser
36ceaa4452
Keep loaded_bytes in parser to reduce allocation
...
Also centralized memory ownership to make it easy to keep data around
2020-03-21 18:12:16 -07:00
John Keiser
c34b1a1b2a
Organize basic tests to make easier to turn on/off
2020-03-21 18:12:16 -07:00
John Keiser
e4df0ca368
Add parse, parse_many, load, load_many tests
2020-03-21 18:12:16 -07:00
Daniel Lemire
8a91cecf41
testing only with ok documents.
2020-03-21 18:12:16 -07:00
Daniel Lemire
04e8710cf5
Testing issue 570
2020-03-21 18:12:16 -07:00
John Keiser
e8b3f9eaad
Support document::parse("[1,2,3]"_padded)
2020-03-21 11:15:20 -07:00
Daniel Lemire
23d6ec6cff
Testing clang + libc++ ( #579 )
...
* Testing clang + libc++
* I love how docker makes permissions super complicated.
2020-03-21 11:23:11 -04:00
Daniel Lemire
0a6edae2dd
Removing oss-fuzz logo since it is not clear what it means.
2020-03-20 22:08:48 -04:00
Daniel Lemire
0e45663ce8
Quickstart and intro ( #575 )
...
* Add quickstart
* Fix amalgamation
Co-authored-by: John Keiser <john@johnkeiser.com>
2020-03-20 22:07:52 -04:00
Daniel Lemire
80a9f4defd
Updating appveyor
2020-03-20 16:59:47 -04:00
Daniel Lemire
8f1e4018c0
Updating drone link
2020-03-20 16:57:38 -04:00
Daniel Lemire
afe36d0b36
Updating circleci link
2020-03-20 16:54:37 -04:00
Daniel Lemire
5d1e3efce8
faster minifier ( #568 )
...
* Fallback should use our scalar code.
* parse should have a nicer error message.
* Making it so that "minify" can use different architectures.
* Let us change the minifier competition so that it tests all implementations.
* Documenting the untaken optimization opportunity.
Co-authored-by: John Keiser <john@johnkeiser.com>
2020-03-20 16:14:47 -04:00
Daniel Lemire
293ec7aec5
Minor update.
2020-03-20 11:02:18 -04:00
Daniel Lemire
6cefeb338b
std::tie does not work on some compilers ( #567 )
...
* std::tie workaround.
* Cleaner solution
2020-03-19 16:56:45 -04:00
John Keiser
f1744f5495
Break out string/structural scanning from tokenizer
2020-03-18 10:40:06 -07:00
Daniel Lemire
5750a173ff
We should not need to specify the architecture under ARM. ( #564 )
2020-03-18 08:24:21 -04:00
Daniel Lemire
e3a4fd9f93
Minor tweaks on fallback.
2020-03-17 14:59:47 -07:00
John Keiser
5a071c1907
Remove TARGET_FALLBACK
2020-03-17 14:59:47 -07:00
John Keiser
7cf3a7511b
Add fallback implementation to CI
...
- Also add SIMDJSON_IMPLEMENTATION_HASWELL/WESTMERE/ARM64/FALLBACK=1/0 to
enable/disable various implemnentations
2020-03-17 14:59:47 -07:00
John Keiser
af203aaf86
Add fallback parser for pre-SSE4.2 machines
2020-03-17 14:59:47 -07:00
John Keiser
8e2c06cb0e
Compile with -fno-exceptions
2020-03-17 13:54:37 -07:00
John Keiser
1a5d8f1957
Add tests for SIMDJSON_EXCEPTIONS=0, add `tie()` support
2020-03-17 13:54:37 -07:00
John Keiser
03c828c7ad
Add SIMDJSON_EXCEPTIONS=ON to turn on exception interface
2020-03-17 13:54:37 -07:00
Daniel Lemire
758dc511fb
Better comment.
2020-03-17 14:22:40 -04:00
Daniel Lemire
0164723a8e
Adding comments.
2020-03-16 20:17:48 -04:00
Daniel Lemire
032936a7b5
Update README.md
2020-03-16 08:14:25 -04:00
Daniel Lemire
da3e064fc7
Added a comment.
2020-03-15 22:35:21 -04:00
Daniel Lemire
317fc6ba0e
accurate number parsing ( #558 )
2020-03-15 22:30:21 -04:00
John Keiser
1aaad223c0
Simplify atom parsing
2020-03-13 19:00:08 -07:00
John Keiser
81c86d7090
Structural iterator
2020-03-13 19:00:08 -07:00
Daniel Lemire
d9a9fd387d
Adding a stress test.
2020-03-13 18:59:15 -07:00
John Keiser
0c190b165c
Benchmark minify
2020-03-13 18:59:15 -07:00