Re: [QuantLib-svn] SF.net SVN: quantlib: [11869] trunk/QuantLib
Posted by
Ferdinando M. Ametrano-3 on
URL: http://quantlib.414.s1.nabble.com/Re-QuantLib-svn-SF-net-SVN-quantlib-11869-trunk-QuantLib-tp9624p9625.html
Hi François,
On 7/11/07,
[hidden email] <
[hidden email]> wrote:
> Revision: 11869
>
http://quantlib.svn.sourceforge.net/quantlib/?rev=11869&view=rev> Author: fdv1
> Date: 2007-07-11 09:28:06 -0700 (Wed, 11 Jul 2007)
>
> Log Message:
> -----------
> CashFlows::npv signature changed to avoid useless dynamic memory allocation.
> As a general rule I think that it might be a good practice to dereference pointers or Handles as early as possible so we can use plain reference later on. This would save indirections and remove the need to store objects systematically in the heap.
well, actually when it comes to general rules I'm more sensitive to
the one that defines as mandatory to update your working copy and run
successfully the test suite before committing to the trunk :-)
Your change broke 3 test suites (asset swap, bonds, and convertible
bonds): please revert it or fix it.
thank you
ciao -- Nando
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev