feat: add fixed priority queue implementation
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 25 May 2024 15:33:44 +0000 (17:33 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 25 May 2024 15:33:44 +0000 (17:33 +0200)
commitf8d5d8fdf46b7182f5efa3503bb5172ec199fb45
treeb4c9e1d6e3a9895f862411c6f720d57abb7f1827
parent6c2aa71d06cfeccb07a325f7d9bc5ecdbb42a11f
feat: add fixed priority queue implementation

Expected usage is priority queue optimization

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/circular-buffer.ts
src/fixed-priority-queue.ts [new file with mode: 0644]
tests/fixed-priority-queue.test.mjs [new file with mode: 0644]