bitset2
std::bitset with constexpr implementations plus additional features. (by ClaasBontus)
bit
The Bit Library (by vreverdy)
bitset2 | bit | |
---|---|---|
4 | 2 | |
118 | 58 | |
0.0% | - | |
2.2 | 0.0 | |
over 1 year ago | about 6 years ago | |
C++ | C++ | |
gtkbook License | BSD 3-clause "New" or "Revised" License |
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.
bitset2
Posts with mentions or reviews of bitset2.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-05.
-
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
bit
Posts with mentions or reviews of bit.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-05.
-
A simple problem that isn't
Interesting article! If anyone is wondering more about bit iterators and algorithms, an well tuned implementation that supports BMI2 intrinsics is available and documented at bit (and its lecture), and bit-algorithms, along with its dynamic bitset from bitlib.
- Shocked by the size of std::bitset
What are some alternatives?
When comparing bitset2 and bit you can also consider the following projects:
bit_set - Rebooting the std::bitset franchise
BitLib - Provides a bit-vector, an optimized replacement of the infamous std::vector<:b:ool>. In addition to the bit-vector, the library also provides implementations of STL algorithms tailored for bit-vectors.
itsy_bitsy - Bit containers, sequences, and views for everyone. 🕷️
bit-algorithms - An exploratory implementation of bit overloads of the C++ standard algorithms
better_bitset - A better `std::bitset` that supports scanning for bits optimally
compact_bitset - A drop-in replacement for std::bitset that doesn't waste memory.