pgvector.git / summary / log / commit / refs

commit    57554e5b46bb6c797ff7ea45f9832725e4f8505e
Author:   Andrew Kane <andrew@ankane.org>
Date:     Wed Dec 20 22:52:31 2023 +0000

    Added todo [skip ci]


src/hnswbuild.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hnswbuild.c b/src/hnswbuild.c index afe0fb1c..4af986ee 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; } [parent: 6738fa0bd7c9]