Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9235: Construction from binary data
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-11 16:16:06
#9235: Construction from binary data
-------------------------------+----------------------------
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 johnmaddock):
This is supported.... but only in C++11 compliant compilers (ie not VC++
I'm afraid at present). See:
http://www.boost.org/doc/libs/1_54_0/libs/multiprecision/doc/html/boost_multiprecision/tut/lits.html
When supported though, the integer is compile-time constructed from the
data with no runtime overhead at all.
Otherwise I'd strongly recommend you use the "construct from hexadecimal
string" method, as that runtime code is well optimized (I hope!).
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9235#comment:1> 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