diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2026-10-13 16:39:57 -0700 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2026-10-13 16:43:22 -0700 |
| commit | d39abb22ccfbb6a34ab8ebcbcbffe8f07232485f (patch) | |
| tree | 390913e1be421119586c0bb1887aed0a1e01b1cb /deque.go | |
| parent | Fix import path (diff) | |
| download | deque-d39abb22ccfbb6a34ab8ebcbcbffe8f07232485f.tar.zst | |
Update contact infov1.2.2
Diffstat (limited to 'deque.go')
| -rw-r--r-- | deque.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,8 +1,10 @@ +// Copyright 2025, 2026 Rose Hogenson <r@roseh.moe> + // Package deque implements a double-ended queue (deque) implemented with a // slice-backed ring buffer. // // This queue has O(1) amortized inserts and removals from both ends of the -// container. It also has O(1) indexing like a vector. +// container. It also has O(1) indexing like a slice. // // The "default" usage of this type as a queue is to use [Deque.PushBack] to add // to the queue, and [Deque.PopFront] to remove from the queue. Iterating over |
