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

Re: Guaranteeing memory pool lifetime

From: Matthew Hambley <matthew_at_aether.demon.co.uk>
Date: 2005-07-05 20:16:54 CEST

In message <1120580635.29444.88.camel@egyptian-gods.mit.edu>
          Greg Hudson <ghudson@MIT.EDU> wrote:

> On Tue, 2005-07-05 at 08:06 +0100, Matthew Hambley wrote:
> > As I understand the usage of memory pools in subversion all I can take
> > for granted is that the pool passed into a function will exist for the
> > duration of the call. However I want to allocate some space which
> > persists for the lifetime of the client. What pool should I use which
> > has such a lifespan and how would I access it?
[snip]
> Why do you want to allocate space which persists for the lifetime of the
> client?

I'm taking another look at issue 1233 and looking to take on board what
Helge Jensen was saying about caching the MIME map information. This
requires that the map isn't freed between calls to the MIME type guessing
function.

-- 
(\/)atthew )-(ambley ---------------\ If something's worth doing it's worth
E-mail : matthew@aether.demon.co.uk  \ doing badly until you can learn to
Public key : C991137B                 \ do it well.
Web : http://www.aether.demon.co.uk/   \-----------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 5 20:17:28 2005

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