Forwarding `insert`.
(&mut self, id: u32, v: &[f32])
| 35 | |
| 36 | /// Forwarding `insert`. |
| 37 | pub fn insert(&mut self, id: u32, v: &[f32]) { |
| 38 | match self { |
| 39 | Self::RaBitQ(idx) => idx.insert(id, v), |
| 40 | Self::Bbq(idx) => idx.insert(id, v), |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | /// Total nodes (including deleted). |
| 45 | pub fn len(&self) -> usize { |
no outgoing calls
no test coverage detected