From: Manuelreyesbravo (@Manuelreyesbravo) <noreply+Manuelreyesbravo@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] PR #1020: Prefetch unvisited neighbors during HNSW search
Date: Mon, 28 Sep 2026 01:38:41 +0000
Message-ID: <gh-pgvector-pgvector-1020-c5861797995@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-1020@github.com>
References: <gh-pgvector-pgvector-1020@github.com>
Thanks, that fits: with the pause fix the distance is kept between hops, so without FULL it only has to ramp up once per layer.
And yes, some look-ahead prefetches are wasted. The search reads the same blocks either way, so every extra read is one: in that run 5.2k extra over 67k (8%). It only spends what's left of the eic budget, but if the waste isn't worth it, I'd leave it out.