eternal
bitset2
eternal | bitset2 | |
---|---|---|
1 | 4 | |
189 | 116 | |
0.0% | - | |
10.0 | 2.2 | |
over 1 year ago | 10 months ago | |
C++ | C++ | |
ISC License | Boost Software License 1.0 |
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.
eternal
-
Long switch statements. Is there a better way?
Unfortunately std::map is not constexpr. There are open source alternatives though (not affiliated with the author in any way).
bitset2
-
Working with bitstreams. The best type to represent bits
Also there's a library that is basically a resizable bitset with extra features. Here's the link: https://github.com/ClaasBontus/bitset2
- bitset2 now supports 128 bit integers
-
What std::bitset could have been
Have a look at bitset2!
-
Shocked by the size of std::bitset
Have a look at https://github.com/ClaasBontus/bitset2
What are some alternatives?
hof - Higher-order functions for c++
compact_bitset - A drop-in replacement for std::bitset that doesn't waste memory.
StaticTypeInfo - 🏀 Up your type-game. A small C++ library for compile-time type names and type indices.
bit_set - Rebooting the std::bitset franchise
pthash - Fast and compact minimal perfect hash functions in C++.
better_bitset - A better `std::bitset` that supports scanning for bits optimally
uninttp - A universal type for non-type template parameters for C++20 or later.
itsy_bitsy - Bit containers, sequences, and views for everyone. 🕷️
sshash - A compressed, associative, exact, and weighted dictionary for k-mers.
bit - The Bit Library
vswitch - Function-like value switch.
compile-time-regular-expressions - Compile Time Regular Expression in C++