Re: Improve list manipulation in several places

From: Richard Guo <guofenglinux(at)gmail(dot)com>
To: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Cc: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, David Rowley <dgrowleyml(at)gmail(dot)com>, Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
Subject: Re: Improve list manipulation in several places
Date: 2023-07-04 00:48:00
Message-ID: CAMbWs4-eK-2PUm+HCv08Jf6BqR8vb0MVhqBB7ZS3NQ6pK8GAew@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jul 3, 2023 at 5:41 PM Peter Eisentraut <
peter(dot)eisentraut(at)enterprisedb(dot)com> wrote:

> On 09.05.23 05:13, Richard Guo wrote:
> > Yeah, maybe this is the reason I failed to devise a query that shows any
> > performance gain. I tried with a query which makes the 'all_pathkeys'
> > in sort_inner_and_outer being length of 500 and still cannot see any
> > notable performance improvements gained by list_copy_move_nth_to_head.
> > Maybe the cost of other parts of planning swamps the performance gain
> > here? Now I agree that maybe 0002 is not worthwhile to do.
>
> I have committed patch 0001. Since you have withdrawn 0002, this closes
> the commit fest item.

Thanks for pushing it and closing the item!

Thanks
Richard

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Yurii Rashkovskii 2023-07-04 01:00:12 Re: [PATCH] Extend the length of BackgroundWorker.bgw_library_name
Previous Message David Rowley 2023-07-04 00:36:38 Re: Making empty Bitmapsets always be NULL