incubator-lucy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Kurz <>
Subject Hierarchical memory allocation in C
Date Thu, 26 Nov 2009 09:17:43 GMT
I was recently researching memory allocators and came across talloc:

Talloc has a cool interface: "talloc is a hierarchical, reference
counted memory pool system with destructors."    It's main uniqueness
is that every allocation address returned can also be used as a
context for future allocations, so that all the components of an
object can very simply be allocated as belonging to that object.

Good short explanation here:

I've never actually used it, but it's probably worth 15 minutes of
exploration to determine if this might be an interface worth swiping
for Lucy at some point.

Nathan Kurz

View raw message