Looks a bit like rust-array-stump [1] which was built to optimise insertions in the middle of an array in computational geometry.
[1] https://github.com/bluenote10/rust-array-stump