diff options
| author | mat <git@matdoes.dev> | 2023-10-10 23:21:23 -0500 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-10-10 23:21:23 -0500 |
| commit | 9a687f0ffebad80441e036aabe14e7cf80c774d3 (patch) | |
| tree | 2f6ad5a1a14cae23723550c934df395aab1733f6 /azalea-core/src | |
| parent | 0297b8aacee27d9e86cea781b3751591e32df401 (diff) | |
| download | azalea-drasl-9a687f0ffebad80441e036aabe14e7cf80c774d3.tar.xz | |
start adding mining to pathfinder
Diffstat (limited to 'azalea-core/src')
| -rwxr-xr-x | azalea-core/src/bitset.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/azalea-core/src/bitset.rs b/azalea-core/src/bitset.rs index 912216a8..52a34154 100755 --- a/azalea-core/src/bitset.rs +++ b/azalea-core/src/bitset.rs @@ -125,6 +125,11 @@ impl From<Vec<u8>> for BitSet { } /// A list of bits with a known fixed size. +/// +/// Note that this is primarily meant for fast serialization and deserialization +/// Minecraft, if you don't need that you should use the `fixedbitset` crate +/// since it's approximately 20% faster (since it stores the data as usizes +/// instead of u8s) #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub struct FixedBitSet<const N: usize> where |
