Re: Proposal for enabling auto-vectorization for checksum calculations

John Naylor <johncnaylorls@gmail.com>

From: John Naylor <johncnaylorls@gmail.com>
To: Andrew Kim <tenistarkim@gmail.com>
Cc: Oleg Tselebrovskiy <o.tselebrovskiy@postgrespro.ru>, pgsql-hackers@lists.postgresql.org
Date: 2026-03-17T02:25:22Z
Lists: pgsql-hackers
On Tue, Mar 17, 2026 at 9:23 AM John Naylor <johncnaylorls@gmail.com> wrote:
> I've attached v12 which is just a rebase over the new centralized
> feature detection. I also have some review:

I forgot to mention elsewhere we generated #include-able snippets of
code with the suffix ".inc.c" so I went with that rather than add
exception to headerscheck.

-- 
John Naylor
Amazon Web Services



Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Use AVX2 for calculating page checksums where available

  2. Refactor checksumming code to make it easier to use externally.