← Back to team overview

ffc team mailing list archive

A bunch of optimizations: [...]

 

Commit from logg (2005-10-07 22:58 CEST)
----------------

A bunch of optimizations:

  - Only precompute declarations a0, aK, gK when needed as decided by
    the current format. (Formats should return None when not needed.)

  - Write BLAS XML data directly to file instead of caching in a string.
    Very little difference in speed and much cheaper in memory for large
    files.

These optimizations considerably improve compile-time and memory usage
for complicated forms. Test results for Cahn-Hilliard will be reported
in a separate post.

  ffc  TODO                               1.49
  ffc  src/bin/ffc                        1.28
  ffc  src/ffc/compiler/elementtensor.py  1.17
  ffc  src/ffc/format/ase.py              1.9
  ffc  src/ffc/format/dolfin.py           1.48
  ffc  src/ffc/format/latex.py            1.17
  ffc  src/ffc/format/raw.py              1.13
  ffc  src/ffc/format/xml.py              1.5



Follow ups