Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7879: Optimize equality comparison
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-01-12 11:08:59
#7879: Optimize equality comparison
---------------------------------------------------+------------------------
Reporter: Stepan Podoskin <stepik-777@â¦> | Owner: johnmaddock
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: multiprecision
Version: Boost 1.53.0 | Severity: Optimization
Resolution: | Keywords:
---------------------------------------------------+------------------------
Comment (by johnmaddock):
You're correct of course, in fact rational_adapter is needlessly slow
because of it's dependence on Boost.Rational which often performs a lot of
unnecessary copying.
I really need to rewrite rational_adapter not to use Boost.Rational at
all.
BTW the front end does have the ability to optimize comparisons when a
full compare is expensive, but since we can't access the numerator and
denominator of Boost.Rational without copying, it's unlikely to help so
much as it should.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7879#comment:3> 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:11 UTC