From 49427f83bc3751fdb35f567b17abf9ddbd87bd48 Mon Sep 17 00:00:00 2001 From: Kirill Petrashin Date: Mon, 30 Mar 2026 20:09:21 +0300 Subject: Update TODOs and FIXMEs --- priority_queue.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'priority_queue.c') diff --git a/priority_queue.c b/priority_queue.c index c90f661..7e706a8 100644 --- a/priority_queue.c +++ b/priority_queue.c @@ -11,9 +11,6 @@ PositionPQ *ppq_new(Position pos, size_t priority) { return ppq; } -/* TODO: we need to handle if a pos is already in ppq, but this time we have it with better priority. - * I think we need to implement ppq_remove(*ppq, pos), which'll see if pos is in ppq and will remove it. - * Then we call it where we return PPQ_INSERT_SUCCESS, but before we actually insert the pos. */ int ppq_insert(PositionPQ **ppq, Position pos, size_t priority) { //printf("Inserting %zu %zu\n", pos.x, pos.y); PositionPQ *start = *ppq; -- cgit v1.2.3