(&self)
| 449 | /// Returns the minimum number of keys this leaf should have. |
| 450 | #[inline] |
| 451 | pub fn min_keys(&self) -> usize { |
| 452 | // For leaf nodes, minimum is floor(capacity / 2) |
| 453 | // Exception: root can have fewer keys |
| 454 | self.capacity / 2 |
| 455 | } |
| 456 | |
| 457 | // ============================================================================ |
| 458 | // BORROWING AND MERGING HELPERS |
no outgoing calls
no test coverage detected