mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-01 10:11:20 +08:00
Updated comment [skip ci]
This commit is contained in:
@@ -367,7 +367,7 @@ HnswElementMemory(HnswElement e, int m)
|
||||
elementSize += sizeof(List);
|
||||
elementSize += sizeof(ItemPointerData) + SIZEOF_VOID_P;
|
||||
elementSize += VARSIZE_ANY(DatumGetPointer(e->value));
|
||||
/* Each allocation has chunk header */
|
||||
/* Each allocation has a chunk header */
|
||||
elementSize += (e->level + 7) * GENERATIONCHUNK_RAWSIZE;
|
||||
return elementSize;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user