itsy_bitsy
ac_types
itsy_bitsy | ac_types | |
---|---|---|
4 | 2 | |
120 | 105 | |
- | 0.0% | |
4.1 | 3.2 | |
almost 2 years ago | 2 months ago | |
C++ | C++ | |
GNU General Public License v3.0 or later | Apache License 2.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.
itsy_bitsy
-
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.
ac_types
- Bit-vector manipulations in standard C++
-
New integer types I’d like to see
This is probably not what you're looking for because it might not be high performance. But in hardware synthesis/modeling, we use the so called "AC data types" and I just googled that and found it on Github.
https://github.com/hlslibs/ac_types
Arbitrary bit length, symmetrical and unsymmetrical, rounding and wraparound behaviour specifiable etc. etc.
What are some alternatives?
bitvec - A crate for managing memory bit by bit
go - The Go programming language
better_bitset - A better `std::bitset` that supports scanning for bits optimally
bitset2 - std::bitset with constexpr implementations plus additional features.
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.
BitArray - C bit array structs and methods
CRoaring - Roaring bitmaps in C (and C++), with SIMD (AVX2, AVX-512 and NEON) optimizations: used by Apache Doris, ClickHouse, and StarRocks