Last change
on this file since 1270 was
6,
checked in by ymipsl, 15 years ago
|
Import des sources XMLF90
|
File size:
1.0 KB
|
Rev | Line | |
---|
[6] | 1 | April 28, 2004 |
---|
| 2 | |
---|
| 3 | * New optional argument "record_size" in open_xmlfile. The default record |
---|
| 4 | length is 65536, but for overly long lines it might be necessary to specify |
---|
| 5 | a larger size. |
---|
| 6 | |
---|
| 7 | * Wrote "init_" routines to avoid undefined status for the components |
---|
| 8 | of the buffer, dictionary, and elstack derived types (Fortran90 restriction). |
---|
| 9 | They are called just once at the beginning of execution. |
---|
| 10 | |
---|
| 11 | The "reset_" routines just zero out the counters in the derived |
---|
| 12 | types. This leads to substantial savings in overhead. |
---|
| 13 | |
---|
| 14 | * Avoided when possible the allocation of temporaries (mostly strings) by |
---|
| 15 | the compilers. This was particularly acute in the "action" records. The |
---|
| 16 | typical idiom: |
---|
| 17 | |
---|
| 18 | action =trim("Reading character in name: " // c) |
---|
| 19 | |
---|
| 20 | forced the allocation of a temporary. The number of compiler allocations |
---|
| 21 | (at least with NAG) has dropped down to just those needed in the processing |
---|
| 22 | of entities. |
---|
| 23 | |
---|
| 24 | * Put the explicit module dependencies in the makefile. |
---|
| 25 | |
---|
| 26 | * Increased the standard size of the buffers and dictionaries. |
---|
| 27 | ***** The program now stops when those sizes are not enough. |
---|
| 28 | |
---|
Note: See
TracBrowser
for help on using the repository browser.