Re: Improve heapgetpage() performance, overhead from serializable

From: John Naylor <john(dot)naylor(at)enterprisedb(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Zhang Mingli <zmlpostgres(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Subject: Re: Improve heapgetpage() performance, overhead from serializable
Date: 2023-09-06 03:14:18
Message-ID: CAFBsxsE0TYEC+v=vh4O-0bV0duUT=vxMpoNJ-1t2Vv9OVQjr8Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Sep 6, 2023 at 1:38 AM Andres Freund <andres(at)anarazel(dot)de> wrote:

> > > I think that makes it less likely that the compiler actually
generates a
> > > constant-folded version for each of the branches. Perhaps worth some
> > > experimentation.
> >
> > Combining this way doesn't do so for me.
>
> Are you saying that the desired constant folding happened after combining
the
> branches, or that it didn't happen?

Constant folding did not happen.

--
John Naylor
EDB: http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Laurenz Albe 2023-09-06 03:15:45 Re: Disabling Heap-Only Tuples
Previous Message Thomas Munro 2023-09-06 03:07:00 Re: psql - pager support - using invisible chars for signalling end of report