small_vector
A fully featured single header library implementing a vector container with a small buffer optimization. (by gharveymn)
matchit.cpp
match(it): A lightweight single-header pattern-matching library for C++17 with macro-free APIs. (by BowenFu)
small_vector | matchit.cpp | |
---|---|---|
1 | 7 | |
40 | 545 | |
- | - | |
6.6 | 0.0 | |
7 months ago | almost 2 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.
matchit.cpp
Posts with mentions or reviews of matchit.cpp.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-30.
-
The pattern matching library match(it) gets its first stable release.
FYI. Now we've supported Id and Id to return lvalue ref and rvalue ref in addition to the original Id returning const lvalue ref, making the solution much more elegant now. Refer to the complete sample at https://github.com/BowenFu/matchit.cpp/blob/main/sample/mutation.cpp.
- match(it): A C++17 pattern-matching library with lots of good stuff
- Show HN: Match(it): A C++17 pattern-matching library with lots of good stuffs
What are some alternatives?
When comparing small_vector and matchit.cpp you can also consider the following projects:
Simple-Utility
eventbus - A simple, header only event bus library written in modern C++17.
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.
mathiu.cpp - mathiu : a simple computer algebra system in C++.
svector - Compact SVO optimized vector for C++17 or higher
astar_pathfinder_grid_2d - Single header library for path finding on 2D grids with A* algorithm. Includes a stable and a fast path finders.
lvc - Collection of C++ containers extracted from LLVM
ureact - Functional reactive programming library for c++