Re: [Boost-bugs] [Boost C++ Libraries] #9839: Improve flat_containers performance during insertion phases

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9839: Improve flat_containers performance during insertion phases
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-05-24 20:36:03


#9839: Improve flat_containers performance during insertion phases
--------------------------------------+---------------------------
  Reporter: gonzalobg88@… | Owner: Ion Gaztañaga
      Type: Feature Requests | Status: new
 Milestone: To Be Determined | Component: container
   Version: Boost Development Trunk | Severity: Optimization
Resolution: | Keywords:
--------------------------------------+---------------------------

Comment (by Ion Gaztañaga):

 This was already implemented:

 https://www.boost.org/doc/libs/1_67_0/doc/html/boost/container/flat_map.html

 See members:

   sequence_type extract_sequence();
   void adopt_sequence(sequence_type &&);
   void adopt_sequence(ordered_unique_range_t, sequence_type &&);

 using these functions a user can use a sequence_type (vector, by default),
 fill it, and do a single "adopt_sequence" call to sort data.

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/9839#comment:5>
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 : 2018-05-24 20:42:05 UTC