lighthouse/beacon_chain/utils/boolean-bitfield
Alex Stokes 6c2c42e6b7
Adds custom std::cmp::PartialEq impl
Two bitfields now match if they contain the same information.

There were some discrepancies before when comparing fields with the same
bits set but came from different sources, e.g. off the wire vs created
in memory, due to the existence of unset bits in the high byte.
2018-12-10 20:34:35 -08:00
..
src Adds custom std::cmp::PartialEq impl 2018-12-10 20:34:35 -08:00
Cargo.toml Update bitfield to expand size when writing out-of-bounds 2018-11-20 12:38:23 -08:00
README.md Simplifies the boolean-bitfield implementation to use bit-vec crate 2018-11-20 12:34:28 -08:00

Boolean Bitfield

Implements a set of boolean as a tightly-packed vector of bits.