mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-09 14:20:57 +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));
|
elementSize += VARSIZE_ANY(DatumGetPointer(e->value));
|
||||||
/* Each allocation has a 64-bit header */
|
/* Each allocation has a 64-bit header */
|
||||||
elementSize += (e->level + 7) * sizeof(uint64);
|
elementSize += (e->level + 7) * sizeof(uint64);
|
||||||
|
/* TODO Account for additional memory */
|
||||||
return elementSize;
|
return elementSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user