by williamcotton · 2y ago · 0 comments
You can use a per-request memory arena built with a simple bump allocator and then free the entire block when the request has been handled.
Then use a script language with similar memory semantics, PHP started out exactly that way, if I'm not mistaken.