Browse Source Download (without any required ccan dependencies)
lpq
Simple, slow priority queue implementation
David Gibson <[email protected]>
This code implements a priority queue. This is a trivial linked list implementation, which is simple and generally slow.
init: O(1) enqueue: O(1) front: O(n) dequeue: O(n) reorder: O(1)
LGPL (v2.1 or any later version)