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

Re: iteration pools and 'continue'

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-05-10 05:15:40 CEST

Brian Denny <brian@briandenny.net> writes:

> A question about pool usage:
>
> The convention is to clear out your iteration pool after each
> iteration... but what about when you use a 'continue' statement to go
> to the next iteration? I see that in the code a fair bit, and so the
> pool doesn't get cleared out until the next iteration. Do we just
> figure that allocating two (or a few) iterations worth of stuff at a
> time isn't a big deal?

I guess it depends on the situation... I don't think there's a policy
in place about this. I mean, you could always clear the pool right
before calling 'continue'. But I suspect the reason you see people
not doing that is simply a bit of carelessness, not a deliberate
policy decision. :-)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 10 05:16:45 2003

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.