A degap buffer.

queue : deque :: gap : degap

(Use a ringbuffer, instead.)