Re: reducing memory usage by using "proxy" memory contexts?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: reducing memory usage by using "proxy" memory contexts?
Дата
Msg-id 15721.1576556402@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: reducing memory usage by using "proxy" memory contexts?  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> For the specific case of RelationInitIndexAccessInfo(), allocations that
> commonly live for the rest of the backend's life and are frequent enough
> of them to matter, it might be worth micro-optimizing the
> allocations. E.g. not doing ~7 separate allocations within a few
> lines...  Not primarily because of the per-allocation overheads, but
> more because that'd allow to size things right directly.

Hmm ... that would be worth trying, for sure, since it's so easy ...

            regards, tom lane



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

Предыдущее
От: Ranier Vilela
Дата:
Сообщение: RE: [PATCH] Windows port add support to BCryptGenRandom
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Allow cluster owner to bypass authentication