From 57554e5b46bb6c797ff7ea45f9832725e4f8505e Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Wed, 20 Dec 2023 17:52:31 -0500 Subject: [PATCH] Added todo [skip ci] --- src/hnswbuild.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hnswbuild.c b/src/hnswbuild.c index afe0fb1..4af986e 100644 --- a/src/hnswbuild.c +++ b/src/hnswbuild.c @@ -366,6 +366,7 @@ HnswElementMemory(HnswElement e, int m) elementSize += VARSIZE_ANY(DatumGetPointer(e->value)); /* Each allocation has a 64-bit header */ elementSize += (e->level + 7) * sizeof(uint64); + /* TODO Account for additional memory */ return elementSize; }