Whether the given local id has been tombstoned.
(&self, id: u32)
| 301 | |
| 302 | /// Whether the given local id has been tombstoned. |
| 303 | pub fn is_deleted(&self, id: u32) -> bool { |
| 304 | let idx = id as usize; |
| 305 | idx < self.deleted.len() && self.deleted[idx] |
| 306 | } |
| 307 | |
| 308 | /// Insert a vector that is already tombstoned (for checkpoint restore). |
| 309 | pub fn insert_tombstoned(&mut self, vector: Vec<f32>) -> u32 { |
no test coverage detected