blob: 65661f107ee3d613a9b07095cd05347369bf1d5b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
# deque: a high-performance slice-backed double-ended queue inspired by Rust's VecDeque
Compared to other popular slice-backed deque implementations, this one
- is only 32 bytes;
- uses append to get an optimial growth factor;
- supports iterating using Go 1.23 iterators;
- and steals Rust's clever strategy for minimizing the amount of data copied
on reallocation.
|