svector
Nameof C++
svector | Nameof C++ | |
---|---|---|
3 | 5 | |
94 | 2,060 | |
- | - | |
0.0 | 4.5 | |
5 months ago | 22 days ago | |
C++ | C++ | |
MIT License | MIT License |
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.
svector
-
If you limit an std::string in a class to be < 15 characters, can you assume that any time the string is read it will stay on the stack due to SSO?
It would be possible to do a much more compact SSO, but I think they've done it this way for performance reason. E g. I've implemented a vector with SSO, and there i only have 1 byte overhead: https://github.com/martinus/svector
- GitHub - martinus/svector: Small Vector optimization
Nameof C++
What are some alternatives?
small_vector - A fully featured single header library implementing a vector container with a small buffer optimization.
Magic Enum C++ - Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code
refl-cpp - Static reflection for C++17 (compile-time enumeration, attributes, proxies, overloads, template functions, metaprogramming).
smf - Fastest RPC in the west
Bitsery - Your binary serialization library
tomlplusplus - Header-only TOML config file parser and serializer for C++17.
LeapSerial - The Leap Motion cross-format, cross-platform declarative serialization library
entt - Gaming meets modern C++ - a fast and reliable entity component system (ECS) and much more
cppcodec - Header-only C++11 library to encode/decode base64, base64url, base32, base32hex and hex (a.k.a. base16) as specified in RFC 4648, plus Crockford's base32. MIT licensed with consistent, flexible API.
robin-hood-hashing - Fast & memory efficient hashtable based on robin hood hashing for C++11/14/17/20
protobuf-c - Protocol Buffers implementation in C