pgvector.git / summary / log / commit / refs

commit    6d15435003367012d5f26ebc6b77cfd39cfb5e18
Author:   Andrew Kane <andrew@ankane.org>
Date:     Fri Aug 11 16:26:54 2023 +0000

    Updated comment [skip ci]


src/hnswinsert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hnswinsert.c b/src/hnswinsert.c index 5690ea65..40b476d2 100644 --- a/src/hnswinsert.c +++ b/src/hnswinsert.c @@ -171,7 +171,7 @@ WriteNewElementPages(Relation index, HnswElement e, int m, BlockNumber insertPag } /* Finally, try space for element only if last page */ - /* Skip if element and neighbor can fit on the same page */ + /* Skip if both tuples can fit on the same page */ if (combinedSize > maxSize && PageGetFreeSpace(page) >= etupSize && !BlockNumberIsValid(HnswPageGetOpaque(page)->nextblkno)) { HnswInsertAppendPage(index, &nbuf, &npage, state, page); [parent: 12d15a9c41e6]