[Dune] Notification from Dune

Flyspray dune at hal.iwr.uni-heidelberg.de
Wed Aug 23 10:29:21 CEST 2006


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has been changed.  The new details are below.  For
full information about what has changed, visit the URL and click the
History tab.

FS#46 - TMP in FieldVector considered harmful
User who did this: - Oliver Sander (sander)

Attached to Project - Dune
Summary - TMP in FieldVector considered harmful
Task Type - Feature Request
Category - Common
Status - New
Assigned To - Dune Developer Group
Operating System - All
Severity - Low
Priority - Normal
Reported Version - SVN
Due in Version - 
Due Date - Undecided
Percent Complete - 80%
Details - I propose to remove the template-metaprogramming stuff from
FieldVector and FieldMatrix.  My reasons are:

- The code gets harder to read and to maintain.  Even more
  so since it now also contains expression templates
- It increases compile time and space requirements
- It probably does not make the code more efficient.  
  Compilers with a parser good enough to parse TMP should
  have an optimizer able to unroll simple loops.
- FieldVectors with more than 500 entries (rare, but why
  not?) cause compiler errors.

Of course, the second and third point need to be verified
experimentally before deciding about this issue.


More information can be found at the following URL:
http://hal.iwr.uni-heidelberg.de/flyspray/?do=details&id=46

You are receiving this message because you have requested it from the
Flyspray bugtracking system.  You can be removed from future
notifications by visiting the URL shown above.





More information about the Dune mailing list