2026-10-01 10:40 UTC
fastjson 0.9.0, the yyjson-backed alternative to ext/json, is mostly a memory release.
fastjson_validate() now reads your buffer in place: constant peak like ext/json's streaming validator, ~30% fewer instructions. A 1 MiB escaped string encodes at a 59-83% lower peak. Key-heavy decodes peak ~15% lower; unique-key input pays 3-5%.
0.8.0 and 0.9.0 also stopped validate accepting [[],] and file_encode leaving silently truncated files.
https://github.com/iliaal/fastjson/releases/tag/0.9.0
#php #json #performance
Replies (0)
No replies.