Description
Description
The current json_encode
implementation [1] iterates on every string character.
I belive there is a potential to utilize SIMD to copy multiple characters to the output string as long as they are not to-be-escaped.
Benchmark: https://3v4l.org/XeJTn/rfc#vgit.master
This can improve performace on applications that do a lot of JSON encoding.