From 58109dcb61601e500212d21c01969e0178934b95 Mon Sep 17 00:00:00 2001 From: Carson Fleming Date: Wed, 12 Aug 2026 18:31:41 -0400 Subject: flag set bug (not fixed yet) --- set.c | 1 + 1 file changed, 1 insertion(+) diff --git a/set.c b/set.c index e69cef0..9af4202 100644 --- a/set.c +++ b/set.c @@ -96,6 +96,7 @@ static void rehash_set(set_t* set) { } static size_t fetch_set_idx_rehashing(set_t* set, void* key) { + /* TODO(bug): we need to check non-tombstones all the way through before accepting tombstones */ size_t idx = fetch_set_idx(set, key, true); if ((double) ++set->size / set->__num_buckets > set->load_limit || idx >= set->__num_buckets) { -- cgit v1.2.3