Re: [Boost-bugs] [Boost C++ Libraries] #9574: flat_set(rand_iter, rand_iter) should use reserve()

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9574: flat_set(rand_iter, rand_iter) should use reserve()
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-02-11 14:16:40


#9574: flat_set(rand_iter,rand_iter) should use reserve()
-------------------------------+------------------------
  Reporter: marc.glisse@… | Owner: igaztanaga
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: container
   Version: Boost 1.54.0 | Severity: Problem
Resolution: invalid | Keywords:
-------------------------------+------------------------
Changes (by igaztanaga):

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

Comment:

 The container can't guess how many repeated elements are going to be
 inserted. The container could speculatively try to guess a value, but I
 think that would hurt insertions with many repeated elements. I'm closing
 the issue as invalid.

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