Commit Graph

1062 Commits

Author SHA1 Message Date
John Keiser d4f4608dab
Merge pull request #643 from simdjson/jkeiser/get
Replace as_X and is_X with get<T> and is<T>
2020-03-28 16:46:05 -07:00
John Keiser ea8a5020e2 Remove array indexer, make object indexer key lookup 2020-03-28 15:56:43 -07:00
John Keiser 622d9c9480 Replace as_X and is_X with get<T> and is<T> 2020-03-28 15:29:53 -07:00
John Keiser bb0c9547be
Merge pull request #642 from simdjson/jkeiser/dom
Create "dom" namespace to put element and friends in
2020-03-28 14:44:51 -07:00
John Keiser 62da98aef6 Rename dom::stream to dom::document_stream 2020-03-28 13:42:24 -07:00
John Keiser 03746b966b Move document/element/etc. under dom 2020-03-28 13:42:21 -07:00
John Keiser de001da35b
Merge pull request #640 from simdjson/jkeiser/simdjson-result
Use simdjson_result for all _result classes
2020-03-28 13:36:54 -07:00
Daniel Lemire 0da460ca13
Improving readability a bit, but introducing page breaks. 2020-03-28 16:18:57 -04:00
Daniel Lemire 450e19858b Minor fix to distinctuseridcompetition 2020-03-28 15:56:10 -04:00
John Keiser 836e1fc330 Use simdjson_result for all _result classes 2020-03-28 12:03:05 -07:00
John Keiser e836c28008 Deprecate parser error code methods
- Also make competitions compile without warnings
2020-03-28 10:13:20 -07:00
John Keiser fff4f921e4
Merge pull request #637 from simdjson/jkeiser/string-view
Use string_view instead of const char * where possible
2020-03-28 08:45:40 -07:00
John Keiser 9f265711a8
Merge pull request #629 from simdjson/jkeiser/parse-element
Return document::element from parser.parse()
2020-03-28 08:45:14 -07:00
Daniel Lemire 32afcd2e48
Better documentation for issue 70 (#638) 2020-03-27 19:44:01 -04:00
John Keiser 748df8d109 Use string_view instead of string/char* where possible 2020-03-27 13:11:41 -07:00
John Keiser 5ad405006c Return document::element from parse, load, parse_many, load_many 2020-03-27 12:24:41 -07:00
John Keiser 47859f3560
Merge pull request #628 from simdjson/jkeiser/remove-simdjson-move-result
Remove simdjson_move_result and remove deprecation warnings
2020-03-27 11:58:44 -07:00
Daniel Lemire 56d1b9a226
Update README.md 2020-03-27 14:12:30 -04:00
Daniel Lemire 1b6a31b277
Updating the performance numbers. (#634)
* Updating the performance numbers.

* Updating with growing file sizes.
2020-03-27 14:11:02 -04:00
John Keiser 90a7503181 Rename pj -> doc, fix a few other idioms 2020-03-27 09:22:46 -07:00
John Keiser e3efbcddc1 Cast padded_string to string_view instead of string 2020-03-27 09:13:11 -07:00
John Keiser c14b2fb36c Remove const char* variants for at_key()
- Remove const char * variants for at_key(), string_view covers them
- Add at_key_case_insensitive variants on *_result
- Add at(), at_key(), at_key_case_insensitive() tests
2020-03-27 09:09:08 -07:00
John Keiser f0f111b387 Make ParsedJson::Iterator backcompat test 2020-03-27 09:07:39 -07:00
Daniel Lemire c95e45d283 Typo 2020-03-26 21:08:54 -04:00
Daniel Lemire 52b8d50178 Going less crazy. 2020-03-26 21:04:24 -04:00
Daniel Lemire f581627d10 Let us get circle ci to be more aggressive 2020-03-26 20:10:34 -04:00
Daniel Lemire 6a8ec95a46 Various fixes. 2020-03-26 20:08:54 -04:00
Daniel Lemire b6c6680add Ported jsoncheck. 2020-03-26 19:56:04 -04:00
Daniel Lemire 5fb149f833 Converted inter_tests... 2020-03-26 19:52:17 -04:00
Daniel Lemire abb0bf9247 Fixed basictests 2020-03-26 19:40:29 -04:00
Daniel Lemire 8f3ddd3a73 Updating allparserscheckfile 2020-03-26 17:15:33 -04:00
Daniel Lemire 8f34e6714a Removing dead code. 2020-03-26 17:01:51 -04:00
John Keiser 56841bcede Fix conversion error on Windows 2020-03-26 12:48:07 -07:00
John Keiser 006cc2ed60 Remove simdjson_move_result 2020-03-26 12:48:03 -07:00
Daniel Lemire c79cf8d6bf Correcting indentation. 2020-03-26 12:01:35 -07:00
Daniel Lemire cf704cf81b Introducing strict tests (-Werror) only for GCC 8 and GCC 9. 2020-03-26 12:01:35 -07:00
Daniel Lemire 265d474ec8 Can we test with GCC 9 2020-03-26 12:01:35 -07:00
John Keiser 2e420169c3 Remove document::parse and document::load 2020-03-26 10:13:09 -07:00
John Keiser 5aec2671ea Remove JsonStream. Use parse_many() instead. 2020-03-26 09:25:07 -07:00
Daniel Lemire ab0e22a316
Trying to migrate distinctuseridcompetition to new API. (#624)
* Trying to migrate distinctuseridcompetition to new API.

* Ok. Good performance + got rid of old API.
2020-03-26 12:06:28 -04:00
John Keiser 06587824be Deprecate ParsedJson::Iterator 2020-03-25 18:26:51 -07:00
John Keiser a0bce440a6 Remove document_iterator, document::iterator, ParsedJsonIterator
Keep ParsedJson::Iterator only, without template, in same form as
it was in 0.2
2020-03-25 18:26:51 -07:00
John Keiser 26b15251e2 Split docs into multiple files 2020-03-25 18:25:14 -07:00
Daniel Lemire 1cf4fe405d
Fixing issue 602 (#621) 2020-03-25 21:06:20 -04:00
Daniel Lemire 6b8f5d3354
Fixing issue 601 (#618)
* Fixing issue 601
2020-03-25 20:44:55 -04:00
John Keiser d5af359365
Fix compile error in master (#619) 2020-03-25 20:11:23 -04:00
Daniel Lemire 8769e42a56
Fixes issue 600 (#614)
* Fixes issue 600
2020-03-25 18:01:23 -04:00
John Keiser 7cde65aa6e This deprecates json_parse() and build_parsed_json(). 2020-03-25 14:19:24 -07:00
John Keiser e1b1500e3b Make _padded available without using namespace simdjson 2020-03-25 09:37:18 -07:00
John Keiser 2943a1c27f Reorganize README and add documentation 2020-03-25 09:36:48 -07:00