Re: Reduce one comparison in binaryheap's sift down

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: cca5507 <cca5507@qq.com>, pgsql-hackers <pgsql-hackers@lists.postgresql.org>
Date: 2024-10-30T12:09:17Z
Lists: pgsql-hackers
On Tue, Oct 29, 2024 at 11:00 AM Nathan Bossart
<nathandbossart@gmail.com> wrote:
> On Tue, Oct 29, 2024 at 11:21:15AM +0800, cca5507 wrote:
> > Agree, new version patch is attached.
>
> I might editorialize a bit, but overall this looks pretty good to me.
> Robert, would you like to commit this, or shall I?

I would be delighted if you could take care of it.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



Commits

  1. Optimize sifting down in binaryheap.