Operating System - HP-UX
1837738 Members
3752 Online
110118 Solutions
New Discussion

aC++ performance when using templates

 
Thomas Kollig
Trusted Contributor

aC++ performance when using templates

I wanted to speed up my own vector class. Therefore I used the method of expression templates to minimize temporary objects used in a calculation. Using g++ a test program was accelerated from 7s to 5s. But using aC++ the new method needed 30s instead of 0.5s without it.
Has aC++ (A.01.15) performance problems when using templates?