Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document differences from json_decode() #60

Merged
merged 2 commits into from
Sep 29, 2022

Conversation

TysonAndre
Copy link
Collaborator

And add tests of the current behavior of decoding json number syntax

This is useful for

  • Deciding if simdjson can be used for a use case
  • Knowing what cases should work properly

@TysonAndre TysonAndre force-pushed the decode-integer-test branch 2 times, most recently from 1ed64f1 to d9f20fe Compare September 28, 2022 11:44
And add tests of the current behavior of decoding json number syntax

Document exception handling for simdjson_decode
@crazyxman crazyxman merged commit c0e244e into crazyxman:master Sep 29, 2022
TysonAndre added a commit to TysonAndre/simdjson_php that referenced this pull request Oct 2, 2022
Closes crazyxman#80 - simdjson_is_valid() and other PHP functions would
previously return false when out of memory

- Related to crazyxman#60 - other php apis (using emalloc instead) will also emit
  fatal errors when out of memory and end the process.

Closes crazyxman#79 - reuse buffers for strings less than 1000000 bytes and
100000 depth. (Assumes the depth rarely changes in callers)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants