News for hackers. Stuff that matters.
Re:Talloc: The Tutorial by jbert on Sunday December 08, 2013 @08:23AM (#6869628)
Apache has a nice system where all allocations come out of pools. http://apr.apache.org/docs/apr/2.0/group__apr__pools.html

You can then create a new pool to handle a single http request, then discard the whole pool with one free when the request has finished.

Re:Talloc: The Tutorial by csmuk on Monday December 09, 2013 @03:45AM (#6873413)
Spot on. This and APR make stuff a lot simpler. Have used pool allocation on a number of projects.