Re: Proposal for enabling auto-vectorization for checksum calculations - Mailing list pgsql-hackers

From John Naylor
Subject Re: Proposal for enabling auto-vectorization for checksum calculations
Date
Msg-id CANWCAZZ_0AQMk1HgHXHX+JaeBfy_4kzwHgTdqMptDA7zM+nm+Q@mail.gmail.com
Whole thread Raw
In response to Re: Proposal for enabling auto-vectorization for checksum calculations  (Andrew Kim <tenistarkim@gmail.com>)
List pgsql-hackers
On Fri, Oct 24, 2025 at 2:49 PM Andrew Kim <tenistarkim@gmail.com> wrote:
> The function signatures (pg_checksum_block, pg_checksum_page) remain
> identical, and checksum_impl.h still contains the complete
> implementation that external programs can include. The runtime
> dispatch only affects internal PostgreSQL usage.

I don't quite understand the architecture here -- all
platform-specific definitions were put in the "checksum_impl.h"
header. My thinking was that checksum.c would have all that, with thin
wrappers around the functions included from that header.

--
John Naylor
Amazon Web Services



pgsql-hackers by date:

Previous
From: Peter Smith
Date:
Subject: Re: Logical Replication of sequences
Next
From: wenhui qiu
Date:
Subject: Re: another autovacuum scheduling thread