Proposals:Template Meta Programming Unrolling Loops

From KitwarePublic
Jump to navigationJump to search

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]