Fortran/PR19303 PATCH: Runtime selection of record markers for unformatted sequential io
Bud Davis
bdavis@gfortran.org
Wed Feb 23 03:39:00 GMT 2005
On Tue, 2005-02-22 at 15:02, Janne Blomqvist wrote:
> Thanks, that was how I understood it. But the performance problem
> still remains; e.g. when writing a record the first record marker is a
> placeholder value. Presumably most records are smallish, so a single
> 32-bit number sounds reasonable. But then if the record is large, from
> where are you going to take the extra 64 bits required for the large
> record marker?
we need to calculate the size of the record to be written in the front
end prior to calling the library.
probably easier said than done.
any additional buffering eats memory and time. the memory will be
significant when someone is trying to write a 2GB array of REALS to the
disk.
--bud
More information about the Fortran
mailing list