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

From Jeff Davis
Subject Re: Make tuple deformation faster
Date
Msg-id 08b2bf79151b498ad296e8ace65aa61100d48a6f.camel@j-davis.com
Whole thread Raw
In response to Re: Make tuple deformation faster  (David Rowley <dgrowleyml@gmail.com>)
Responses Re: Make tuple deformation faster
List pgsql-hackers
On Thu, 2025-03-06 at 01:07 +1300, David Rowley wrote:
> I've attached the results. The 3990x with clang looks good, but the
> rest are mostly slower.

I am still curious why.

If it's due to compiler misoptimization, is that kind of thing often
misoptimized, or is there something we're doing in particular?

Even if we don't have answers, it might be worth adding a brief comment
that we empirically determined that booleans are faster than bitfields
or flags. In the future, maybe compilers mostly get this right, and we
want to change to bitfields.

Regards,
    Jeff Davis




pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Should we add debug_parallel_query=regress to CI?
Next
From: Peter Geoghegan
Date:
Subject: Re: Should we add debug_parallel_query=regress to CI?