From: tkreuder (@tkreuder) <noreply+tkreuder@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] PR #977: Add int8vec type for 8-bit integer vectors
Date: Wed, 15 Apr 2026 12:20:57 +0000
Message-ID: <gh-pgvector-pgvector-977-c4251930929@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-977@github.com>
References: <gh-pgvector-pgvector-977@github.com>
I saw the intvec branch — great to see it landing in 0.8.0.
My implementation ( int8vec ) was built independently and goes a bit further in a few areas:
• IVFFlat support (not just HNSW)
• SIMD-ready distance functions via runtime-dispatched function pointers
• Utility functions like vector_dims() , l2_norm() , l2_normalize() , binary_quantize() , subvector()
• Arithmetic operators ( add , sub , mul , concat )
• Btree opclass for ORDER BY / DISTINCT / equality
• Sparsevec casts ( sparsevec <=> int8vec )