[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: macros
From: |
Richard Frith-Macdonald |
Subject: |
Re: macros |
Date: |
Fri, 23 Feb 2001 05:37:26 +0000 |
On Friday, February 23, 2001, at 12:33 AM, ian.mondragon@bankofamerica.com
wrote:
> all -
>
> a message on the dev list reminded me of this long standing question of
> mine:
>
> why do so many people use the RELEASE(foo) and AUTORELEASE(foo) macros
> instead of just typing out [foo release] or [foo autorelease] ? they do the
> same thing, but i just fail to see the logic in using the macro.
Using RETAIN(), RELEASE(), AUTORELEASE() is recommended for efficiency ... if
you
are using garbage collection, these macros do nothing, and you avoid the
overhead
of the method lookups and calls.
- macros, ian . mondragon, 2001/02/22
- Re: macros,
Richard Frith-Macdonald <=
- Re: macros, David Relson, 2001/02/23
- Re: macros, Richard Frith-Macdonald, 2001/02/23
- Re: macros, Richard Frith-Macdonald, 2001/02/23
- Re: macros, Richard Frith-Macdonald, 2001/02/23