This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fortran/PR19303 PATCH: Runtime selection of record markers forunformatted sequential io


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]