Commit graph

11 commits

Author SHA1 Message Date
Isaac Yonemoto
a35b113def
Merge 3ae7876a50 into e4be00f949 2025-11-25 13:29:46 +01:00
Ryan Liptak
63a45b8ecd SinglyLinkedList.remove docs: Assumes -> asserts
Removing a node that is not in the list invokes safety-checked illegal behavior, so "asserts" is the recommended language to use.
2025-10-25 21:28:54 -07:00
IOKG04
a83db33ba2 *LinkedList.remove() assumes node is in the list
probably closes https://github.com/ziglang/zig/issues/16795
2025-10-25 21:10:02 -07:00
Isaac Yonemoto
412e48db23 renames "payload" to "item" so that payload refers to "data" field 2025-05-23 10:43:46 -04:00
Isaac Yonemoto
f5c2d6e865 adds DoublyLinkedList implementation for completeness 2025-05-23 10:41:20 -04:00
Isaac Yonemoto
79f7da3e1d fixes to wrap instead of reimplement 2025-04-30 11:23:03 -04:00
Isaac Yonemoto
3413b1a2c4 adds legibility changes 2025-04-16 20:50:19 -05:00
Isaac Yonemoto
8f2df69fe9 adds legibility 2025-04-16 20:48:28 -05:00
Isaac Yonemoto
5a250ff256 tested for correctness 2025-04-16 20:45:44 -05:00
Isaac Yonemoto
2b032cfddd adds a generic singly linked list 2025-04-16 13:50:24 -05:00
Andrew Kelley
1639fcea43 de-genericify SinglyLinkedList
by making it always intrusive, we make it a more broadly useful API, and
avoid binary bloat.
2025-04-03 14:55:04 -07:00