Proposals:Template Meta Programming Unrolling Loops: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
Line 11: Line 11:
= References =
= References =


[[http://en.wikipedia.org/wiki/Template_meta-programming | Template Meta-Programming entry in the Wikipedia]]
[http://en.wikipedia.org/wiki/Template_meta-programming Template Meta-Programming entry in the Wikipedia]

Revision as of 23:22, 9 October 2007

The Problem

Many classes in ITK perform for-loops of small number of elements whose size is known at compile time. These for loops are bottlenecks of performance. Computation time can be improved by unrolling them at compilation time.

Proposal

Introduce Template Meta Programming techniques for unrolling loops in heavily used classes

References

Template Meta-Programming entry in the Wikipedia