Re: Improve list manipulation in several places - Mailing list pgsql-hackers

From Richard Guo
Subject Re: Improve list manipulation in several places
Date
Msg-id CAMbWs4_bQGgqvLTEMt1og-LM-s36yTF6regp+AYE5rBLUmHViQ@mail.gmail.com
Whole thread Raw
In response to Re: Improve list manipulation in several places  (Ranier Vilela <ranier.vf@gmail.com>)
List pgsql-hackers

On Fri, Apr 21, 2023 at 7:16 PM Ranier Vilela <ranier.vf@gmail.com> wrote:
+lcons_copy(void *datum, const List *list)
+lappend_copy(const List *list, void *datum)
list param pointer can be const here not?

Correct. Good point.  V2 patch does that.

Thanks
Richard

pgsql-hackers by date:

Previous
From: Richard Guo
Date:
Subject: Re: Improve list manipulation in several places
Next
From: Richard Guo
Date:
Subject: Re: Improving worst-case merge join performance with often-null foreign key