summaryrefslogtreecommitdiffstats
path: root/list.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-05-08Add additional list operationsMalfurious1-3/+21
Add list functions which can efficiently cut down on some bolierplate. The rest of the code will eventually be cleaned to make use of them. Signed-off-by: Malfurious <m@lfurio.us>
2023-07-08Implement trivial linked listMalfurious1-0/+32
* Bring-your-own-node (generic / zero allocations) * Doubly-linked and circular, forward and backward traversable * Random insert/removal in constant time * All operations are no-fail * [Some type safety concessions though] Signed-off-by: Malfurious <m@lfurio.us>