Re: simplehash: SH_OPTIMIZE_REPEAT for optimizing repeated lookups of the same key

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: simplehash: SH_OPTIMIZE_REPEAT for optimizing repeated lookups of the same key
Дата
Msg-id 0f8dc156d25f747d7b84cba2ec7d6e8c2379afed.camel@j-davis.com
обсуждение исходный текст
Ответ на Re: simplehash: SH_OPTIMIZE_REPEAT for optimizing repeated lookups of the same key  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Tue, 2023-11-21 at 08:51 -0800, Andres Freund wrote:
> I am not quite sure this kind of cache best lives in simplehash -
> ISTM that
> quite often it'd be more beneficial to have a cache that you can test
> more
> cheaply higher up.

Yeah. I suppose when a few more callers are likely to benefit we can
reconsider.

Though it makes it easy to test a few other callers, just to see what
numbers appear.

Regards,
    Jeff Davis




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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Report planning memory in EXPLAIN ANALYZE
Следующее
От: David Steele
Дата:
Сообщение: Re: Add recovery to pg_control and remove backup_label