Re: Why passing a pool to a printf?
From: Greg Hudson <ghudson_at_MIT.EDU>
 
Date: 2004-05-18 03:49:52 CEST 
On Mon, 2004-05-17 at 21:43, Nicolás Lichtmaier wrote:
 Creating and destroying a pool is moderately expensive.
 Also, we don't like creating pools entirely from scratch.  This way, the
 >  Why cluttering the interface, requiring other functions to also
 Just about all of our public functions require a pool.  Where they
 > And  what about this:
 > for(i=0 ; i<10000 ; i++)
 > Won't this take lots of memory?
 Yes.  That's why we have this idiom documented in HACKING:
   subpool = svn_pool_create (pool);
 ---------------------------------------------------------------------
  | 
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.