[PATCH] Derive interface buffers from max name length
Bernhard Reutner-Fischer
rep.dot.nop@gmail.com
Sat Oct 21 18:11:00 GMT 2017
On 21 October 2017 at 17:18, Thomas Koenig <tkoenig@netcologne.de> wrote:
> Hi Bernhard,
>
>> JFYI I'm contemplating to move the stack-based allocations
>> to heap-based ones now, starting with gfc_match_name and
>> gradually moving to pointer comparisons with the stringpool based
>> identifiers. I'll strive to suggest something for discussion in
>> smallish steps when it's ready.
>
> What is the driver behind this change? Code clarity? Speed?
The idea is to replace string-comparison with pointer comparison which
should help speed.
See Janne's suggestion to do this earlier in this thread.
It's more or less janitorial work. IIRC the C family of FEs switched
to this scheme many years ago for good measure and nobody had time to
take care of the fortran FE. At least that's my understanding.
thanks,
More information about the Fortran
mailing list