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 | |
| parent | Fix import path (diff) | |
| download | deque-1.2.2.tar.zst | |
Update contact infov1.2.2
| -rw-r--r-- | LICENSE | 2 | ||||
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | deque.go | 4 | ||||
| -rw-r--r-- | deque_test.go | 2 | ||||
| -rw-r--r-- | example_test.go | 2 |
5 files changed, 12 insertions, 2 deletions
@@ -1,4 +1,4 @@ -Copyright (C) 2025 by Rose Hogenson <rosehogenson@posteo.net> +Copyright (C) 2025, 2026 by Rose Hogenson <r@roseh.moe> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. @@ -7,3 +7,7 @@ Compared to other popular slice-backed deque implementations, this one - 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\> @@ -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 diff --git a/deque_test.go b/deque_test.go index 27ae232..00fde54 100644 --- a/deque_test.go +++ b/deque_test.go @@ -1,3 +1,5 @@ +// Copyright 2025, 2026 Rose Hogenson <r@roseh.moe> + package deque import ( diff --git a/example_test.go b/example_test.go index f010515..89c77f2 100644 --- a/example_test.go +++ b/example_test.go @@ -1,3 +1,5 @@ +// Copyright 2025, 2026 Rose Hogenson <r@roseh.moe> + package deque_test import ( |
