Re: cpluspluscheck complains about use of register

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: cpluspluscheck complains about use of register
Дата
Msg-id CAH2-Wzn99KHQkwBaObFOLkCrWOwLjXYRF+1M-77J91WNfx38sg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: cpluspluscheck complains about use of register  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Sat, Sep 24, 2022 at 12:11 PM Andres Freund <andres@anarazel.de> wrote:
> I hit this again while porting cplupluscheck to be invoked by meson as
> well. ISTM that we should just remove the uses of register. Yes, some very old
> compilers might generate worse code without register, but I don't think we
> need to care about peak efficiency with neolithic compilers.

+1. I seem to recall reading that the register keyword was basically
useless as long as 15 years ago.

-- 
Peter Geoghegan



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: cpluspluscheck complains about use of register
Следующее
От: Tom Lane
Дата:
Сообщение: Re: cpluspluscheck complains about use of register