▲ 13 ▼ Show: drop-in replacement for encoding/json
It is 6 times faster than the standard library, with 100% compatible api
Register to comment or vote on this story
It is 6 times faster than the standard library, with 100% compatible api
I've used it for a while, it's awesome!
So what's happening underneath that allows for this kind of speedup while still using reflection? Since it still uses reflection, what would it take to get something like this in stdlib? A much faster implementation would probably be a benefit to many.
it is unsafe.Pointer under the hood, with cached encoder/decoder
Interesting, thanks for posting