Re: move hash_any to utils/hash/hashfn.c

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: move hash_any to utils/hash/hashfn.c
Дата
Msg-id 31389.1548446737@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: move hash_any to utils/hash/hashfn.c  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2019-01-25 16:35:18 -0300, Alvaro Herrera wrote:
>> Would anybody object too hard if I move hash_any() and friends to
>> src/backend/utils/hash/hashfn.c and the declarations to
>> src/include/utils/hashutils.h?

> I hate the current split quite a bit, albeit for somewhat different
> reasons. We make things like tag_hash, uint32_hash unnecessarily more
> expensive by adding an entirely useless external function call. And
> some of these can be fairly hot (e.g. for syscache).  So yea, let's
> move this stuff together.

+1

            regards, tom lane


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: move hash_any to utils/hash/hashfn.c
Следующее
От: Merlin Moncure
Дата:
Сообщение: crosstab/repivot...any interest?