discuss-gnustep
[Top][All Lists]
Advanced

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

Re: bogus retain via NSEnumerator


From: David Stes
Subject: Re: bogus retain via NSEnumerator
Date: Wed, 21 Apr 2004 21:57:55 GMT
User-agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (Linux/2.4.18 (i686))

In comp.lang.objective-c Sherm Pendley <spamtrap@dot-app.org> wrote:
> 
> It's a place where NeXT never existed, POC is
> the only Objective-C implementation, 

POC (http://users.pandora.be/stes/compiler.html) at least doesn't use the
crippled Apple memory management.

The Apple memory management is especially inferior for stuff like 
enumerators, because you are forced to keep a counter of how many times you
are autoreleasing inside a loop.  The reason is that "modulo" a certain
number of loop iterations, you have to free the pool yourself or it will
consume all memory.  In fact, it may be that you have plenty of memory left,
but just that the stupid autoreleasepool is using all of it ...



reply via email to

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