← Back to team overview

dolfin team mailing list archive

About form signature strings

 

For complex forms, the repr(form) signature string used today may grow
quite large.

An alternative is to use a short signature, e.g. the sha1 checksum
of the same repr string or of some equally unique data.

Do we actually use the repr string of the form for anything?
It's nice to have in the generated code to see what the code
came from, but that could eventually be replaced with something
more readable. At least if the repr string is stored in a comment in
the generated code instead of in the signature() function, the C++
compiler can discard it quickly and it won't take up memory in the
final program.

Martin


Follow ups