[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: new mem-management for libsvn_fs?

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-11-01 06:30:13 CET

Ben Collins-Sussman <sussman@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
Received on Fri Nov 1 07:01:55 2002

This is an archived mail posted to the Subversion Dev mailing list.