Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9232: Template bloat
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-12 12:00:29
#9232: Template bloat
-------------------------------+----------------------------
Reporter: psiha | Owner: johnmaddock
Type: Bugs | Status: new
Milestone: To Be Determined | Component: multiprecision
Version: Boost 1.54.0 | Severity: Optimization
Resolution: | Keywords:
-------------------------------+----------------------------
Comment (by psiha):
Replying to [comment:1 johnmaddock]:
> That's not so easy: divide_unsigned_helper calls a lot of other
functions (add/subtract etc) which depend on the template parameters. So
I don't believe the code is as close to identical as you think.
As I said look at the codegen (in x64 builds the functions are even
identical in size, for x86 they differ in a few bytes)...maybe the
abstractions are "blinding you from the Truth" XD
ps. you might find other parts of your code that could do with a similar
rework (this is unfortunately a standard 'plague' of many a 'modern C++
programer', 'top of the pops' Boost ones included)...
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9232#comment:2> 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:14 UTC