Re: A qsort template

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: A qsort template
Дата
Msg-id CAApHDvpB98oDq_u=r_YrUhfF=3GZnvSpMFKWU9o-gDXhSc2vGA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: A qsort template  (Thomas Munro <thomas.munro@gmail.com>)
Список pgsql-hackers
On Mon, 11 Apr 2022 at 09:44, Thomas Munro <thomas.munro@gmail.com> wrote:
> David Rowley privately reported a performance regression when sorting
> single ints with a lot of duplicates, in a case that previously hit
> qsort_ssup() but now hits qsort_tuple_int32() and then has to call the
> tiebreaker comparator.  Note that this comes up only for sorts in a
> query, not for eg index builds which always have to tiebreak on item
> ptr.  I don't have data right now but that'd likely be due to:

I've now added this as an open item for v15.

David



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: make MaxBackends available in _PG_init
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: REINDEX blocks virtually any queries but some prepared queries.