The number hashes that do not collide.
(&self)
| 178 | |
| 179 | /// The number hashes that do not collide. |
| 180 | pub fn num_non_collisions(&self) -> usize { |
| 181 | self.map.len() - (self.colliders.len() - self.emptied_collider_slots.len()) |
| 182 | } |
| 183 | |
| 184 | /// The number of pointers in the map. This is equal to the number of non-colliding hashes |
| 185 | /// plus the number of colliding hashes. |