Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3765: unordered containers use malloc() for each insertion
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-12-12 19:46:02
#3765: unordered containers use malloc() for each insertion
---------------------------------------------------+------------------------
Reporter: Paul Pogonyshev <pogonyshev@â¦> | Owner: danieljames
Type: Bugs | Status: closed
Milestone: Boost 1.42.0 | Component: unordered
Version: Boost 1.41.0 | Severity: Optimization
Resolution: wontfix | Keywords:
---------------------------------------------------+------------------------
Changes (by anonymous):
* status: new => closed
* resolution: => wontfix
Comment:
This is pretty much required by the standard, which the library follows.
If you want to avoid it you have to either use an alternative allocator
which doesn't use malloc (although, reportedly that doesn't result in much
of an improvement) or use an alternative hash table implementation. You
could use the intrusive library or google's dense hash map. There might be
others.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3765#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:02 UTC