[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: Branko Čibej <brane_at_xbc.nu>
Date: 2002-11-03 17:35:00 CET

Ben Collins-Sussman wrote:

>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.
>
>This allows us to incrementally improve our memory usage, by rewriting
>dag routines one-at-a-time.... very carefully.
>
>*This* solution makes mine eyes cry with joy. :-)
>
>
Greg wins, as usual. Many +1's from me!

    Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Nov 3 17:35:48 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.