Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor optimization for
VecMap::split_off
We don't need to copy any elements if `at` is behind the last element in the map. The last element is at index `self.v.len() - 1`, so we should not copy if `at` is greater or equals `self.v.len()`.
- Loading branch information