[Patch, fortran] Module loading improvements part 1/3
Thomas Koenig
tkoenig@netcologne.de
Tue Mar 26 17:23:00 GMT 2013
Am 26.03.2013 16:24, schrieb Tobias Burnus:
> I wonder whether one should also do what Joost has proposed:* Changing
> "allocatable" to "al" etc. That reduces both the .mod file size (and
> thus I/O and improves caching) and the memory consumption of the
> compiler with the proposed caching scheme. As context-aware compression,
> it could even have a better ratio than ZIP. (ZIP can still be used on
> top of it.)
I have been thinking a little bit about a complete redesign of the
module files.
Ideally, I would like it to be an extensible binary format, which uses
a keyword-value combination and which could be accompanied by a "dumper"
which makes it human-readable. A simple yacc grammar could handle
both the reading and making the "dumper".
If this is designed right, it might not even be necessary to bump the
module number for old library files.
Thomas
More information about the Fortran
mailing list