Re: [Boost-bugs] [Boost C++ Libraries] #3030: [crc] optimization of crc_optimal::process_block

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3030: [crc] optimization of crc_optimal::process_block
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-12-16 02:44:11


#3030: [crc] optimization of crc_optimal::process_block
-------------------------------+--------------------------------------------
  Reporter: qehgt0@… | Owner: dlwalker
      Type: Patches | Status: new
 Milestone: Boost 1.40.0 | Component: crc
   Version: Boost 1.39.0 | Severity: Optimization
Resolution: | Keywords: crc
-------------------------------+--------------------------------------------

Comment (by dlwalker):

 The patch replaces using a data member with using a local variable,
 assigning between the two at the starting and finishing points of the
 member function. How does this speed things up instead of slowing them
 down (by using an extra object)? Is member object access that slow, or is
 there some cache issue?! This seems to be configuration-specific, and I
 don't want to add something that may help on some systems but hurt on
 others.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3030#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:08 UTC