Re: SLRU optimization - configurable buffer pool and partitioning the SLRU lock - Mailing list pgsql-hackers

From Andrey M. Borodin
Subject Re: SLRU optimization - configurable buffer pool and partitioning the SLRU lock
Date
Msg-id AB975ABB-1EFA-4113-B6DF-89BB4D949C4B@yandex-team.ru
Whole thread Raw
In response to Re: SLRU optimization - configurable buffer pool and partitioning the SLRU lock  (tender wang <tndrwang@gmail.com>)
List pgsql-hackers

> On 14 Dec 2023, at 16:32, tender wang <tndrwang@gmail.com> wrote:
>
> enable -O2, only one  instruction:
> xor     eax, eax

This is not fast code.  This is how friendly C compiler suggests you that mask must be 127, not 128.


Best regards, Andrey Borodin.


pgsql-hackers by date:

Previous
From: Emre Hasegeli
Date:
Subject: Re: btree_gist into core?
Next
From: Ashutosh Bapat
Date:
Subject: Re: Memory consumed by paths during partitionwise join planning