Re: [Boost-bugs] [Boost C++ Libraries] #1418: polymorphic archive performance improvement

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1418: polymorphic archive performance improvement
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-09-10 18:31:44


#1418: polymorphic archive performance improvement
-------------------------------------------+--------------------------------
  Reporter: Kim Barrett <kab_at_[hidden]> | Owner: ramey
      Type: Patches | Status: assigned
 Milestone: To Be Determined | Component: serialization
   Version: Boost 1.34.1 | Severity: Optimization
Resolution: | Keywords:
-------------------------------------------+--------------------------------

Comment(by kab_at_[hidden]):

 In kab-071107-cross-cast.patch there are two occurrences of a backward
 test in an assertion. Mostly we use boost built in release mode, so only
 recently tripped over this. The change is in basic_iarchive.cpp and
 basic_oarchive.cpp, replacing

         assert(caster != ar.pimpl->m_cached_archive_caster);

 with

         assert(caster == ar.pimpl->m_cached_archive_caster);

 I'm also uploading a fresh patch with this change. Someday soon I hope
 that we'll be upgrading to boost 1.36, in which case I'll supply a fresh
 patch if this issue has not yet been addressed.

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1418#comment:4>
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:49:58 UTC