In my code I have a block which executes once only:
if(doOnce)
{
Matrix matrix;
doOnce = false;
}
However, I find that when even just a matrix object is created in this block once only, even if it does nothing the entire rest of the program is doomed to execute about three times slower than if ...