Re: Sort functions with specialized comparators

John Naylor <johncnaylorls@gmail.com>

From: John Naylor <johncnaylorls@gmail.com>
To: "Andrey M. Borodin" <x4mmm@yandex-team.ru>
Cc: David Rowley <dgrowleyml@gmail.com>, Антуан Виолин <violin.antuan@gmail.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2024-12-16T09:02:19Z
Lists: pgsql-hackers
On Mon, Dec 16, 2024 at 12:58 AM Andrey M. Borodin <x4mmm@yandex-team.ru> wrote:
> So, let's do the function private for intarray and try to remove as much code as possible?

Sorry, I forgot this part earlier. Yes, let's have the private function.

-- 
John Naylor
Amazon Web Services



Commits

  1. Specialize intarray sorting

  2. Replace insertion sort in contrib/intarray with qsort().