mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-30 01:31:15 +08:00
Added todo [skip ci]
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user