On 05/31/2013 12:58 PM, Joseph Rushton Wakeling wrote:
On 05/31/2013 08:34 AM, Manu wrote:
What's taking the most time?
The lighting loop is so template-tastic, I can't get a feel for how fast that
loop would be.

Hah, I found this out the hard way recently -- have been doing some experimental
reworking of code where some key inner functions were templatized, and it had a
nasty effect on performance.  I'm guessing it made it impossible for the
compilers to inline these functions :-(


That wouldn't make any sense though, since after template expansion there is no difference between the generated version and a particular handwritten version.

Reply via email to