Commit Graph

1039 Commits

Author SHA1 Message Date
Daniel Lemire 7dad9fca0f
In the future, we will bump the so version with even minor releases. (#664) 2020-04-01 16:08:28 -04:00
John Keiser b249d7c76c
Merge pull request #666 from Mengesh/patch-1
Update basics.md
2020-04-01 10:54:01 -07:00
Marko Radišić 4060f64232
Update basics.md
Fix links to singleheader .h and .cpp
2020-04-01 17:13:53 +02:00
M. Zhou 5b2f7d3374
CMake: Bump SOVERSION to "1" due to the breaking changes in API/ABI. (fixes #661) (#662) 2020-04-01 09:53:45 -04:00
Daniel Lemire 3116e29d16
Release candidate (#655)
* Release candidate
2020-03-31 17:47:25 -04:00
Daniel Lemire d2406f2a22
More precise prerequisites 2020-03-31 17:41:12 -04:00
Daniel Lemire a648318900
Let us link to the API on simdjson.org (#654)
* Let us link to the API on simdjson.org

* Updating link to rust port.
2020-03-31 16:44:28 -04:00
Daniel Lemire 849f54e4f8
grammar 2020-03-31 10:29:20 -04:00
Daniel Lemire 61009fea3f
Fixed botched edit. 2020-03-31 10:20:31 -04:00
Daniel Lemire 21dce6cca9
Displaying the numbers of documents parsed per second (#652)
* Some users are interested, as a metric, in the number of documents parsed per second.
Obviously, this means reusing the same parser again and again.

* Adding a sentence

* This update the parsingcompetition benchmark so that it displays the number of documents parsed per second.
2020-03-30 17:51:03 -04:00
John Keiser 56bc8a778d
Merge pull request #647 from simdjson/jkeiser/doxygen-update
Deprecate more, show less private things in doxygen
2020-03-30 14:43:17 -07:00
John Keiser d93af1161d Remove set_capacity, replace with allocate
Makes allocation point more predictable
2020-03-30 13:49:54 -07:00
John Keiser 434776db1a Deprecate more things 2020-03-30 13:48:43 -07:00
John Keiser 6167e9cefc Update doxygen to not show deprecated/private things 2020-03-30 13:47:27 -07:00
John Keiser dc918d764e
Merge pull request #646 from simdjson/jkeiser/quickstart-example
Compile all .md examples in CI
2020-03-30 13:44:43 -07:00
John Keiser 9906887151 Add error handling info to RELEASES.md 2020-03-30 13:44:03 -07:00
John Keiser b5a1017afa Update JsonStream.md -> parse_many to new API 2020-03-30 13:44:03 -07:00
John Keiser 7badc230a4 Add RELEASES.md 2020-03-30 13:44:03 -07:00
Daniel Lemire ab78482ee7
The testing files should not be all over the place. The "small" directory should be only for small files (duh). (#650) 2020-03-30 16:24:03 -04:00
Daniel Lemire 6369cf4dd9
Better documentation for the -H flag. (#651) 2020-03-30 15:44:04 -04:00
John Keiser 7656bd50ee Generate API docs at /api/docs 2020-03-29 17:01:12 -07:00
John Keiser 2115596ed3 Compile performance.md examples in tests 2020-03-29 16:28:34 -07:00
John Keiser 0e3453f7c2 Compile examples from implementation-selection.md 2020-03-29 16:28:34 -07:00
John Keiser 7ed65e42d7 Add actual examples from basics.md to readme_examples 2020-03-29 16:28:29 -07:00
John Keiser 835b640ebd Run quickstart example in CI 2020-03-29 15:45:12 -07:00
John Keiser 6ee3318531 Update amalgamated headers 2020-03-29 15:07:35 -07:00
John Keiser ae24fe3850
Merge pull request #644 from simdjson/jkeiser/indexer
Make object[] key lookup
2020-03-28 16:46:53 -07:00
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