mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-11 23:26:55 +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(List);
|
||||||
elementSize += sizeof(ItemPointerData) + SIZEOF_VOID_P;
|
elementSize += sizeof(ItemPointerData) + SIZEOF_VOID_P;
|
||||||
elementSize += VARSIZE_ANY(DatumGetPointer(e->value));
|
elementSize += VARSIZE_ANY(DatumGetPointer(e->value));
|
||||||
/* Each allocation has chunk header */
|
/* Each allocation has a chunk header */
|
||||||
elementSize += (e->level + 7) * GENERATIONCHUNK_RAWSIZE;
|
elementSize += (e->level + 7) * GENERATIONCHUNK_RAWSIZE;
|
||||||
return elementSize;
|
return elementSize;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user