A vector-based circular buffer