This is the mail archive of the
mailing list for the GCC project.
Re: [patch, fortran] Trim spaces on list-directed reads
- From: Jerry DeLisle <jvdelisle at charter dot net>
- To: Thomas Koenig <tkoenig at netcologne dot de>
- Cc: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 14 Apr 2012 16:37:37 -0400
- Subject: Re: [patch, fortran] Trim spaces on list-directed reads
- References: <4F842857.firstname.lastname@example.org>
On 04/10/2012 08:32 AM, Thomas Koenig wrote:
this patch effectively trims the spaces from the string on
list-directed reads. This avoids the large overhead on
processing these spaces when reading from long lines.
I didn't do this for internal units which are arrays because
this would need a separate calculation for each record, and
would mean a major change to the way the code is structured.
The running time for the test case from PR 50673 is reduced
from ~8 s to 0.1 s by this patch.
Regression-tested. OK for trunk?
yes, very good, OK for trunk.
Sorry for delay, time is squeezed badly here.