[cairo] path storage optimizations ( was: how to propose a change? )
behdad at behdad.org
Fri Aug 31 16:45:20 PDT 2007
On Fri, 2007-08-31 at 18:32 -0500, ionous wrote:
> slightly longer answer -- i think that a collection of memory allocation
> callbacks that make specific requests for specific structure types could
> facilitate memory pooling and reuse with cairo on consoles. i haven't
> actually looked at this yet -- swapping out malloc, and using allocation
> request size as a key can work just as well for libraries that don't
> provide that level of granularity.
In those cases I'd say you should replace your malloc.
"Those who would give up Essential Liberty to purchase a little
Temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin, 1759
More information about the cairo