nvzqz / byte-set-rs

Efficient sets of bytes for Rust
https://docs.rs/byte_set
Apache License 2.0
19 stars 1 forks source link

Comparison Benchmark: C++ `std::bitset<256>` #7

Open nvzqz opened 4 years ago

nvzqz commented 4 years ago

The std::bitset<256> type in C++ is comparable to ByteSet.

ByteSet std::bitset<256>
contains test
insert set
remove reset
len count
is_empty none

Considerations:

I think this is worth implementing and adding to https://github.com/nvzqz/byte-set-rs/issues/1.