small_vector
A fully featured single header library implementing a vector container with a small buffer optimization. (by gharveymn)
lvc
Collection of C++ containers extracted from LLVM (by BenjaminNavarro)
small_vector | lvc | |
---|---|---|
1 | 2 | |
41 | 26 | |
- | - | |
6.6 | 0.0 | |
7 months ago | over 3 years ago | |
C++ | C++ | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
small_vector
Posts with mentions or reviews of small_vector.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-04-12.
-
std::forward_list vs std::vector compiler optimizations
Hey, if you were still shopping around, you could give my implementation a shot. Note that it does not have the decoupled buffer feature as you mentioned below, but it is quite richly featured. Fair warning, if you do use this you are a tester, as I haven't found the time to write very many tests yet.
lvc
Posts with mentions or reviews of lvc.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-04-15.
-
llc - a standalone project containing LLVM containers
Since you asked for feedback about CMake: * You don't need to put the INSTALL_INTERFACE genex in the root CML, the install interface already populates the include directories. * The fix-paths.cmake file doesn't solve the problem properly. You need to pass the paths already formatted properly to CMake in the CI and locally.
-
std::forward_list vs std::vector compiler optimizations
In case you're interested, I started to isolate LLVM's containers in a separate project so that they can be reused more easily. There's only SmallVector right now but I'll add more in the coming days
What are some alternatives?
When comparing small_vector and lvc you can also consider the following projects:
Simple-Utility
small_vector - Small small_vector
au - A C++14-compatible physical units library with no dependencies and a single-file delivery option. Emphasis on safety, accessibility, performance, and developer experience.
llc - Collection of C++ containers extracted from LLVM [Moved to: https://github.com/BenjaminNavarro/lvc]
matchit.cpp - match(it): A lightweight single-header pattern-matching library for C++17 with macro-free APIs.
cmake-init - The missing CMake project initializer
svector - Compact SVO optimized vector for C++17 or higher
mp-units - The quantities and units library for C++