[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnustep-cvs] r33146 - in /libs/gui/trunk: Source/ TextConverters/RT
From: |
Richard Frith-Macdonald |
Subject: |
Re: [Gnustep-cvs] r33146 - in /libs/gui/trunk: Source/ TextConverters/RTF/ Tools/ |
Date: |
Sun, 29 May 2011 08:24:41 +0100 |
On 29 May 2011, at 06:42, Richard Frith-Macdonald wrote:
>
> Alternatively, perhaps we should deprecate the use of the
> CREATE_AUTORELEASE_POOL macro and change its meaning so that it's always
> equivalent to 'NSAutoreleasePool X = [NSAutoreleasePool new]' ?
> This would make sense to support mixed GC and non-GC code (I mean code
> intended to work when linked with other code in either world) as we'd then
> always have the pool in existence.
> One of the purposes of the macros was to avoid the overheads of
> creating/destroying and sending messages to autorelease pools when running in
> GC mode, but that's a consideration from many years ago when processors were
> slower ...
Just for clarity ... this (phasing out CREATE_AUTORELEASE_POOL and
RECREATE_AUTORELEASE_POOL) would be my preferred option.