From: ankane (@ankane) <noreply+ankane@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] PR #682: Update HNSW cost estimatation to utilize search and index info
Date: Wed, 25 Sep 2024 18:35:38 +0000
Message-ID: <gh-pgvector-pgvector-682-rc1775769446@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-682@github.com>
References: <gh-pgvector-pgvector-682@github.com>
(on src/hnsw.c)
I think it'd be better to keep the previous naming (`entryLevel`) here since it's really the total number of layers - 1, as well as `HnswGetMl(m)`.
We may also want to add `+ 1` to the number of tuples here and below to avoid `log(0)`.