Subject: [Boost-bugs] [Boost C++ Libraries] #9165: small buffer optimization for vector or new container
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-09-26 12:16:28
#9165: small buffer optimization for vector or new container
------------------------------+--------------------------
Reporter: gast128@⦠| Owner: igaztanaga
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: container
Version: Boost 1.54.0 | Severity: Optimization
Keywords: |
------------------------------+--------------------------
It is already requested may times (e.g. see
[http://stackoverflow.com/questions/18530512/stl-boost-equivalent-of-llvm-
smallvector]). In programs one uses vector's a lot; unfortunately for
small containers every time a heady allocation is involved. According to
stackoverflow ([http://stackoverflow.com/questions/8190950/may-stdvector-
make-use-of-small-buffer-optimization]), the current standard forbids it.
But why not make another container class then? We already have:
- vector
- stable_vector
- static_vector
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9165> 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:14 UTC