by jjbiotech · 11y ago · 0 comments
Do you mean it doesn't allocate any memory per request, it just uses pre allocated memory?
With things like C-based HTTP or JSON parsers, they will use the same memory space that is being passed to them to par/lex/etc but in this case with a Go library I'm honestly not sure what To does behind the scenes (I haven't looked at the source).
It doesn't make any sense.