|
From: Luigi B. <lui...@gm...> - 2014-11-27 16:25:34
|
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 <ig...@gm...> wrote:
> 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
> Qua...@li...
> https://lists.sourceforge.net/lists/listinfo/quantlib-dev
>
>
--
<https://implementingquantlib.blogspot.com>
<https://twitter.com/lballabio>
|