Re: new mem-management for libsvn_fs?
From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-11-01 00:03:12 CET
Karl Fogel <kfogel@newton.ch.collab.net> writes:
> > The real work here is going through every single txn_body_ routine,
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
This allows us to incrementally improve our memory usage, by rewriting
*This* solution makes mine eyes cry with joy. :-)
---------------------------------------------------------------------
|
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.