Open link in next tab
https://purplesyringa.moe/blog/i-sped-up-serde-json-strings-by-20-percent/
https://purplesyringa.moe/blog/i-sped-up-serde-json-strings-by-20-percent/
This, of course, only works on little-endian machines. On big-endian machines, c has to be bytereversed.
Interesting advantage of little endian!