itsy_bitsy
Bit containers, sequences, and views for everyone. 🕷️ (by ThePhD)
BitArray
C bit array structs and methods (by noporpoise)
itsy_bitsy | BitArray | |
---|---|---|
4 | 1 | |
120 | 195 | |
- | - | |
4.1 | 0.0 | |
almost 2 years ago | about 2 years ago | |
C++ | C | |
GNU General Public License v3.0 or later | Creative Commons Zero v1.0 Universal |
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.
itsy_bitsy
Posts with mentions or reviews of itsy_bitsy.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-07.
-
Bit-vector manipulations in standard C++
No benchmarks though. I saw itsy_bitsy, but other than find and sorting (neither of which I've ever needed), it's not really that much faster than std::bitset.
-
An optimized replacement of the infamous std::vector<🅱️ool>
Another library, to possibly compare against, is: itsy.bitsy.
-
What std::bitset could have been
Are patches you mentioned related to this library https://github.com/ThePhD/itsy_bitsy ?
-
[Suggestion] How to manage a (moderately) large number of bitvectors?
This might do what you need https://github.com/ThePhD/itsy_bitsy . I think it has bitwise ops like bitset but is a dynamic bit vector with decent perf.
BitArray
Posts with mentions or reviews of BitArray.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-09.
-
An optimized replacement of the infamous std::vector<🅱️ool>
Its very fast. While comparing to std::vector isn't really fair, BitLib is also significantly faster than the C BitArray library, which serves a similar purpose. I have not started profiling/optimizing yet, so it will only get faster at this point.
What are some alternatives?
When comparing itsy_bitsy and BitArray you can also consider the following projects:
bitvec - A crate for managing memory bit by bit
better_bitset - A better `std::bitset` that supports scanning for bits optimally
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.
ac_types - Algorithmic C Datatypes
bitset2 - std::bitset with constexpr implementations plus additional features.
CRoaring - Roaring bitmaps in C (and C++), with SIMD (AVX2, AVX-512 and NEON) optimizations: used by Apache Doris, ClickHouse, and StarRocks