Re: Tidy fill hstv array (src/backend/access/heap/pruneheap.c)

Поиск
Список
Период
Сортировка
От John Naylor
Тема Re: Tidy fill hstv array (src/backend/access/heap/pruneheap.c)
Дата
Msg-id CANWCAZZpz2-QoPc9iKaD6CO-UNXMdtYxT4noUFk_d+rgDG4OTQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Tidy fill hstv array (src/backend/access/heap/pruneheap.c)  (Ranier Vilela <ranier.vf@gmail.com>)
Ответы Re: Tidy fill hstv array (src/backend/access/heap/pruneheap.c)  ("Andrey M. Borodin" <x4mmm@yandex-team.ru>)
Список pgsql-hackers
On Sat, Jan 13, 2024 at 9:36 PM Ranier Vilela <ranier.vf@gmail.com> wrote:
>
> Em ter., 9 de jan. de 2024 às 06:31, John Naylor <johncnaylorls@gmail.com> escreveu:

>> This just moves an operation from one place to the other, while
>> obliterating the explanatory comment, so I don't see an advantage.
>
> Well, I think that is precisely the case for using memset.
> The way initialization is currently done is much slower and harmful to the branch.
> Of course, the gain should be small, but it is fully justified for switching to memset.

We haven't seen any evidence or reasoning for that. Simple
rules-of-thumb are not enough.



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

Предыдущее
От: John Naylor
Дата:
Сообщение: Re: [PoC] Improve dead tuple storage for lazy vacuum
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: plperl and perl 5.38