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 03:07:51 +0000
Message-ID: <gh-psycopg-psycopg-1324-c4700537101@github.com> (raw)
In-Reply-To: <gh-psycopg-psycopg-1324@github.com>
References: <gh-psycopg-psycopg-1324@github.com>
Latest push fixes a clang warning, adds come more niceties to `tests/scripts/copytest.py`, and removes a check on the index being valid (as the caller of _c_load_item should have previously verified this, e.g. by calling _c_check_num_loaders) .
I think this last will allow us to use it in `load_row` and `load_rows` without a regression. I haven't done this yet, because it's a hugely global change and I'd like to check with @dvarrazzo as to whether there's a good way to run a performance regression. I do have a commit making that change on my local branch.