Hash twice

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Hash twice
Дата
Msg-id CA+U5nMK7agTq7GBn1z1OmzxFqc89VijJYQ_3CLDKYymdWr5gOg@mail.gmail.com
обсуждение исходный текст
Ответы Re: Hash twice  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Lock code says it calculates "hash value once and then pass around as needed".

But it actually calculates it twice for new locks.

Trivial patch attached to make it follow the comments in
LockTagHashCode and save a few cycles.

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

Вложения

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

Предыдущее
От: Amit kapila
Дата:
Сообщение: Re: Performance Improvement by reducing WAL for Update Operation
Следующее
От: Andres Freund
Дата:
Сообщение: Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4)