pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: cxmcc (@cxmcc) <noreply+cxmcc@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] PR #964: Optimize sparsevec L1/L2 distance traversal
Date: Tue, 31 Mar 2026 02:57:04 +0000
Message-ID: <gh-pgvector-pgvector-964-c4159508485@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-964@github.com>
References: <gh-pgvector-pgvector-964@github.com>

Thanks for review and the benchmarks and for catching the platform differences.

My setup used more sparse data and with/without indexes. Under those conditions, I consistently saw improvements for L1/L2. I did try inner product, but didn’t see improvement, so I didn't include IP in the original patch.

Given the lack of gains (and regression) on x86/amd64, it makes sense to close this PR.

view thread (6+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-964-c4159508485@github.com>
Permalink:  ../gh-pgvector-pgvector-964-c4159508485@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox