[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 21:41:41 CEST

In message <1120591224.14069.2.camel@equal-rites.mit.edu>
          Greg Hudson <ghudson@MIT.EDU> wrote:

> On Tue, 2005-07-05 at 19:16 +0100, Matthew Hambley wrote:
> > 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.
> And how would you access the same map in subsequent calls?

Hold the hash as a static variable and call the function which contained it
to retrieve the pointer.

(\/)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 21:42:24 2005

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.