byte-set-rs icon indicating copy to clipboard operation
byte-set-rs copied to clipboard

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

Open nvzqz opened this issue 5 years ago • 0 comments

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:

  • FFI overhead
    • No inlining

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

nvzqz avatar Jun 05 '20 00:06 nvzqz