Re: Speed up collation cache

Поиск
Список
Период
Сортировка
От John Naylor
Тема Re: Speed up collation cache
Дата
Msg-id CANWCAZZuv==Hx96DOVGAEAwMfj9YohgQHHw2SCnO6U6cxCcBBg@mail.gmail.com
обсуждение исходный текст
Ответ на Speed up collation cache  (Jeff Davis <pgsql@j-davis.com>)
Ответы Re: Speed up collation cache
Список pgsql-hackers
On Sat, Jun 15, 2024 at 6:46 AM Jeff Davis <pgsql@j-davis.com> wrote:
> Attached is a patch to use simplehash.h instead, which speeds things up
> enough to make them fairly close (from around 15% slower to around 8%).

+#define SH_HASH_KEY(tb, key)   hash_uint32((uint32) key)

For a static inline hash for speed reasons, we can use murmurhash32
here, which is also inline.



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