Re: Avoid unecessary MemSet call (src/backend/utils/cache/relcache.c)
Ranier Vilela <ranier.vf@gmail.com>
From: Ranier Vilela <ranier.vf@gmail.com>
To: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: David Rowley <dgrowleyml@gmail.com>, Justin Pryzby <pryzby@telsasoft.com>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2022-07-01T15:58:14Z
Lists: pgsql-hackers
Attachments
- 001-avoid-unecessary-MemSet-calls.patch (application/octet-stream) patch
Em qui., 30 de jun. de 2022 às 19:37, Peter Eisentraut < peter.eisentraut@enterprisedb.com> escreveu: > I have also committed a patch that gets rid of MemSet() calls where the > value is a constant not-0, because that just falls back to memset() anyway. > Peter there are some missing paths in this commit. Despite having included the attached patch, there is no need to credit me as the author, just as a report. regards, Ranier Vilela
Commits
-
Replace many MemSet calls with struct initialization
- 9fd45870c143 16.0 landed
-
Change some unnecessary MemSet calls
- 258f48f858b0 16.0 landed
-
Avoid unnecessary MemSet call
- 8cd61d288adf 16.0 landed