[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: minimum compiler requirements - fast enumeration
From: |
Frederik Seiffert |
Subject: |
Re: minimum compiler requirements - fast enumeration |
Date: |
Mon, 31 Jan 2022 12:23:44 +0100 |
I’d be all for this. FWIW there’s also the FOR_IN/END_FOR_IN macros in
GSFastEnumeration.h, which use fast enumeration with Clang and seem to emulate
it with other compilers.
> Am 31.01.2022 um 10:40 schrieb Richard Frith-Macdonald <rfm@gnu.org>:
>
> A few years ago we declared gcc-4.0 as our minimum supported compiler version.
> Does anyone know if gcc-4.0 support for fast enumeration actually works?
> If it does, it would be good to start using fast enumeration internally (in
> gnustep-base for instance).
> I'd like to do that as it gives us not only more readable/maintainable code,
> but also faster code in almost all cases.
>
>
>
>