I am having a problem with the speed of my macro, and this seems to be simply dependent on cout’s.
So just including something like
cout<<" my summary"<<endl;
slows down my macro by a huge factor (from seconds to minutes).
The macro is about 600 lines and this happens quite near the bottom of the code.
Has anyone seen anything like this before?