pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: Ngalstyan4 (@Ngalstyan4) <noreply+Ngalstyan4@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] PR #604: Add direct array to/from sparsevec casts
Date: Thu, 27 Jun 2024 01:55:55 +0000
Message-ID: <gh-pgvector-pgvector-604-c2192906476@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-604@github.com>
References: <gh-pgvector-pgvector-604@github.com>

Thanks for your notes, @jkatz !

I, for some reason, thought (wrongly) that postgres stores ARRAY NULLs in a bitmap, and so NULLs take less space than zeros, that is why proposed the approach.
Addressed the PR and made NULL handling identical to other vector types.

I also added an update script and fixed the build issue on all PGs.

(Will force-push and clean up git history when reviewing is done)

view thread (6+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-604-c2192906476@github.com>
Permalink:  ../gh-pgvector-pgvector-604-c2192906476@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