Hi,
It seems since v1.0.0 a lot of QL_REQUIRE statements were added. Do you have any idea of how that impacted on the performance, if any? A user of the QLNet version noticed a big impact, but in QLNet we use a normal function, and not a macro, so the impact is somewhat expected (parameter values are evaluated whether or not the condition holds). I'm curious as to whether any impact was noticed in QuantLib. See discussion at https://github.com/amaggiulli/qlnet/issues/40 thanks Francois Botha ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Hi Francois, I didn't notice any particular slowdown. Then again, as you say, QL_REQUIRE is a macro in the C++ library. On the happy path, the cost is just the evaluation of the condition. Luigi On Wed, Nov 26, 2014 at 2:54 PM, Francois Botha <[hidden email]> wrote:
------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Free forum by Nabble | Edit this page |