crazyxman/simdjson_php

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

Opened this issue · 0 comments

  • 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://github.com/simdjson/simdjson/issues/1017 does not allow customizing the allocator yet