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:44:27 +0000
Message-ID: <gh-psycopg-psycopg-1324-rc3408872156@github.com> (raw)
In-Reply-To: <gh-psycopg-psycopg-1324-rc3408618687@github.com>
References: <gh-psycopg-psycopg-1324@github.com>
<gh-psycopg-psycopg-1324-rc3408618687@github.com>
(on psycopg_c/psycopg_c/_psycopg/transform.pyx:584)
I just tried it, and didn't see an improvement, but I don't have a proper benchmark running yet, so it's possible there's some small gain. I'm not sure it's worth the cost though. I worry that some loader might be holding onto the memoryview... I may revisit it at a later date, though I suspect there are lower-lieing fruit.