Re: Make tuple deformation faster - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: Make tuple deformation faster
Date
Msg-id 542d28c7d22d392005076c85f6e5d6a38205997e.camel@j-davis.com
Whole thread Raw
In response to Re: Make tuple deformation faster  (James Hunter <james.hunter.pg@gmail.com>)
Responses Re: Make tuple deformation faster
Re: Make tuple deformation faster
List pgsql-hackers
On Wed, 2025-03-05 at 11:33 -0800, James Hunter wrote:
> For a bitfield, however, the CPU has to read from or write to the
> byte
> that contains the bit, but then it also has to mask out the *other*
> bits in that bitfield. This is a data dependency, so it stalls the
> CPU
> pipeline.

Here the bits aren't changing, so we're only talking about mask-and-
test, right? My intuition is that wouldn't cause much of a problem.

Regards,
    Jeff Davis




pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: Orphaned users in PG16 and above can only be managed by Superusers
Next
From: Daniel Gustafsson
Date:
Subject: Remove curl installation from CI images