Re:Building a high performance JSON parser
by vlowther on Saturday June 27, 2020 @11:26PM
(#23666555)
There is also https://github.com/segmentio/encoding, which aims to have a zero allocation fastpath while preserving compatibility with encoding/json.
[ Parent
| on HN ]
From the OP: 'I believed that I could implement an efficient JSON parser based on my assumption that encoding/json was slower than it could be because of its API. It turned out that I was right, it looks like there is 2-3x performance in some unmarshalling paths and between 8x and 10x performance in tokenisation, if you’re prepared to accept a different API.'