You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Karl Fogel <kf...@newton.ch.collab.net> on 2002/11/01 05:30:13 UTC
Re: new mem-management for libsvn_fs?
Ben Collins-Sussman <su...@collab.net> writes:
> Actually, gstein has a much better method.
>
> Get this:
>
> * create a 2nd pool in each trail called 'scratchpool'.
>
> * make sure that commit_trail() frees trail->scratchpool.
>
> * now slowly, leisurely, teach each dag function to use
> trail->scratchpool for temporary work, and trail->pool for
> return-data.
Wow, that is much better, yes. Gstein, drinks on me at next
opportunity :-).
> This allows us to incrementally improve our memory usage, by rewriting
> dag routines one-at-a-time.... very carefully.
Amen.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org