What do you mean by zero memory allocation? The title seems contradictory. You have to allocate at least some memory for a program to run.
Do you mean it doesn't allocate any memory per request, it just uses pre allocated memory?
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.