Bermudan Swaption Demo--Much faster in release mode

Posted by Nehal Patel on
URL: http://quantlib.414.s1.nabble.com/Bermudan-Swaption-Demo-Much-faster-in-release-mode-tp2611.html

Since I spent some time before I realized this, I thought I would share it with the list... fyi, the bermudan swaption runs about 20-30 times faster in relase mode than in debug mode. 

 

I wonder what causes this significant difference?

 

nehal