pg.ddx.io  psycopg/psycopg GitHub issues and pull requests  
help / color / mirror / Atom feed
From: DylanYoung (@DylanYoung) <noreply+DylanYoung@github.com>
To: psycopg/psycopg <noreply+psycopg-psycopg@github.com>
Subject: Re: [psycopg/psycopg] PR #1324: Faster C Load Sequence
Date: Sun, 14 Jun 2026 01:48:52 +0000
Message-ID: <gh-psycopg-psycopg-1324-rc3408875583@github.com> (raw)
In-Reply-To: <gh-psycopg-psycopg-1324-rc3408616286@github.com>
References: <gh-psycopg-psycopg-1324@github.com>
	<gh-psycopg-psycopg-1324-rc3408616286@github.com>

(on psycopg_c/psycopg_c/_psycopg/transform.pyx:535)

It's still used on the python end (e.g. in the composite and record loaders).  I tried replacing it there, but the extra tuple allocation + c-level load-sequence wins, though just marginally.   Once those loaders are written in C, it could be removed, but I suspect it may still be useful for people implementing new loaders in pure-python, so I probably wouldn't remove the API even then. 

view thread (23+ messages)  latest in thread

Message-ID: <gh-psycopg-psycopg-1324-rc3408875583@github.com>
Permalink:  ../gh-psycopg-psycopg-1324-rc3408875583@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