Re: [Boost-bugs] [Boost C++ Libraries] #9637: Boost.Container vector::resize() performance issue

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9637: Boost.Container vector::resize() performance issue
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-06-14 14:08:32


#9637: Boost.Container vector::resize() performance issue
-------------------------------------------+--------------------------
  Reporter: Dariush Forouher <dariush@…> | Owner: igaztanaga
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: container
   Version: Boost 1.55.0 | Severity: Optimization
Resolution: fixed | Keywords:
-------------------------------------------+--------------------------
Changes (by igaztanaga):

 * status: new => closed
 * resolution: => fixed

Comment:

 Thanks for the report. libstdc++ was using memset to initialize the array
 of chars. In commit (master and develop branches):

 SHA-1: 5afad7cd0c5512016f9ad60e03c95e84a470ce17

 * Added optimization for types that can be value initialized with memset.

 Boost.Container uses memset with zero value to initialize several types
 including "char" values.

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