CashFlowVector+schedule

Posted by Nguyen Xuan Son on
URL: http://quantlib.414.s1.nabble.com/CashFlowVector-schedule-tp3065.html

hi,
I found that the code of cashflow can be optimized a little bit. I found that CashFlowVector do recall again calendar.roll in any situation but because roll(roll)=roll ! donc dans le cas isAdjusted=true, it does nothing. The roll() needs much more calculs than test if(isAdjusted==false)...
Let's me know if i am wrong.
XS