blob: 4542b55a098ad5870e05cd6dcc3976f9714c1102 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# 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.
## Contact
Please send inquiries or patches to <r@roseh.moe>
|