(&self)
| 43 | } |
| 44 | |
| 45 | pub fn is_empty(&self) -> bool { |
| 46 | self.entries.is_empty() || (ENABLE_DICTIONARY_WEIGHTS && self.weights.is_none()) |
| 47 | } |
| 48 | |
| 49 | pub fn add_item(&mut self, item_to_add: &[u8], stride: u8) -> bool { |
| 50 | // Skip dictionary entries that are all zeroes, these are already part of the global |
no outgoing calls