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

Why passing a pool to a printf?

From: Nicolás Lichtmaier <nick_at_reloco.com.ar>
Date: 2004-05-18 03:43:12 CEST

Why not creating and destroying a pool with each printf? Why cluttering
the interface, requiring other functions to also include a pool? And
what about this:

for(i=0 ; i<10000 ; i++)
        svn_cmdline_printf(pool, "file %s\n", files[i]);

Won't this take lots of memory?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 18 03:43:31 2004

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.