discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bogus retain via NSEnumerator


From: John C. Randolph
Subject: Re: bogus retain via NSEnumerator
Date: Wed, 21 Apr 2004 23:55:45 -0700

David Stes wrote:
> 
> In comp.lang.objective-c John C. Randolph <jcr@nospam.idiom.com> wrote:
> >
> > You're missing the purpose of autorelease.
> 
> The poster is not missing anything.  Your abusive Apple-employee-language
> is completeley misplaced here.

Abusive?  If saying that someone is missing a point is abusive, then how
would you characterize your own behavior in this newsgroup?

> > It's there specifically for
> > the case where you *don't* want the object to go away immediately,
> > although you are done with it yourself.
> 
> Yes, like in enumerating 2,000,000 objects and having 2,000,000 objects
> in the autoreleasepool so that memory is released only after 2,000,000
> iterations instead of immediately when the object is no longer used.

I see that once again, you're inventing a ridiculous usage scenario.

-jcr


reply via email to

[Prev in Thread] Current Thread [Next in Thread]