3 ms·
We're talking differences of a thousandth of a millisecond (0.001ms) for most structs, but yes. encoding/json from stdlib makes a lot of allocations (~30) due
by fredrikholm 6y ago
We're talking differences of a thousandth of a millisecond (0.001ms) for most structs, but yes.
encoding/json from stdlib makes a lot of allocations (~30) due its use of reflection, which is notoriously slow.