4 ms·
According to the article, encoding/json is particularly slow with respect to decoding due to allocations. Notably, the API makes it difficult (impossible?) to a
by throwaway894345 6y ago
According to the article, encoding/json is particularly slow with respect to decoding due to allocations. Notably, the API makes it difficult (impossible?) to avoid these allocations. Do you know if simdjson is significantly faster in this regard? And if you don't know that, do you know if the decoding API is the same as with encoding/json?
- glangdale 6y agoI don't know; this isn't a huge source of performance problems in the C++ version and I don't know much about how the go version works.