| From: | Peter Geoghegan <pg(at)bowt(dot)ie> |
|---|---|
| To: | Andres Freund <andres(at)anarazel(dot)de> |
| Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org, Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> |
| Subject: | Re: cpluspluscheck complains about use of register |
| Date: | 2022-09-24 19:59:30 |
| Message-ID: | CAH2-Wzn99KHQkwBaObFOLkCrWOwLjXYRF+1M-77J91WNfx38sg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Sat, Sep 24, 2022 at 12:11 PM Andres Freund <andres(at)anarazel(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2022-09-24 20:01:25 | Re: cpluspluscheck complains about use of register |
| Previous Message | Andres Freund | 2022-09-24 19:11:40 | Re: cpluspluscheck complains about use of register |