Re: [Boost-bugs] [Boost C++ Libraries] #817: Performance problem in iostreams

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #817: Performance problem in iostreams
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-12-30 09:57:55


#817: Performance problem in iostreams
---------------------+------------------------------------------------------
  Reporter: nobody | Owner: turkanis
      Type: Bugs | Status: closed
 Milestone: | Component: iostreams
   Version: None | Severity: Problem
Resolution: fixed | Keywords:
---------------------+------------------------------------------------------
Changes (by turkanis):

  * status: assigned => closed
  * resolution: None => fixed

Comment:

 I applied the patch from GMSB in [42367] and [42638] in
 branches/iostreams_dev, to be merged with trunk shortly.

 I changed the code slightly, to reflect the coding style of the library
 and to remove two unnecessary conversions. Table 88 of the C++ standard
 shows that a value of type off_type can be subtracted from a value of type
 pos_type to yield a value of type pos_type; since in the case at hand we
 are dealing with small offsets it is safe to convert egptr() - gptr() to
 off_type.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/817#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:49:57 UTC