Comment Comment by CUViper You can make wrapping writes look contiguous by mapping the same memory twice, one after the other. This is done in slice-deque such that the entire buffer can be viewed as a contiguous slice, regardless of the start/end positions.https://crates.io/crates/slice-deque parent CUViper 7 years ago
https://crates.io/crates/slice-deque