Skip to content

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