Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3408: gamma distribution's quantile performance
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-10-06 17:13:28
#3408: gamma distribution's quantile performance
---------------------------------+------------------------------------------
Reporter: chhenning@⦠| Owner: johnmaddock
Type: Tasks | Status: assigned
Milestone: Boost 1.41.0 | Component: math
Version: Boost 1.40.0 | Severity: Optimization
Keywords: |
---------------------------------+------------------------------------------
Comment(by johnmaddock):
>Can you summaries how you almost doubled the boost performance?
Lot's of very small tweeks :-)
To the forward function:
Look for opportunities to better reuse intermediate results so there are
fewer special-function calls made.
To the inverse (and hence quantile):
* Adjust/fine tune iteration limits so that fewer Halley iterations are
used to find the inverse.
* Fixed a couple of bugs in the evaluation of the the "guess" used for
inital Halley iteration.
* Improved re-use of intermediate results (fewer function calls).
Regards, John.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3408#comment:11> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC