Follow-up Comment #13, bug #59204 (project gnustep):

I think we all agree that the loop in the macros is more trouble than it's
worth, and we should change it.

> Since you often want to wrap the body of a loop in an
> autorelease pool, hijacking break & continue is
> particularly dangerous.

Actually it's quite common practice to empty an autorelease pool every N times
round a loop, so that you don't have the computational overhead of emptying a
pool in each loop iteration, which can be very inefficient.  The @autorelease{
...} construct in a loop does not permit that (the one area I can think of in
which ARC code is less efficient or more cumbersome than pre-arc code).



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59204>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply via email to