Re: [Boost-bugs] [Boost C++ Libraries] #4523: fix for #4501

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4523: fix for #4501
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-09-18 15:07:31


#4523: fix for #4501
-----------------------------+----------------------------------------------
  Reporter: ookami1@… | Owner: no-maintainer
      Type: Patches | Status: new
 Milestone: Boost 1.44.0 | Component: preprocessor
   Version: Boost 1.44.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------+----------------------------------------------

Comment (by ookami1@…):

 As a first step, the following patch modifies the automatic detection of
 free loop slots. The 1.44 implementation returns values between 1 and 256
 only for calls to BOOST_PP_AUTO_REC(predicate, 256). This is an
 insufficient range for loops handling sequences of maximum length.

 This patch extends the range of returned values for
 BOOST_PP_AUTO_REC(predicate, n) from 1 to n+1. This is in preparation for
 other patches following, for now, you normally should not see any
 difference. The extra value is delivered only when a loop overflows
 anyway, and so, at most, error cases are affected.

 The patch speeds up the expension of all outermost loops, but increases
 the number of expansions by a few percent for all inner loops.

 cheers

 Wolf Lammen

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