Simplify coding in slru.c
Alvaro Herrera <alvherre@alvh.no-ip.org>
Simplify coding in slru.c New code in 53c2a97a9266 uses direct array access to shared->bank_locks[bankno].lock which can be made a little bit more legible by using the SimpleLruGetBankLock helper function. Nothing terribly serious, but let's add some clarity. Discussion: https://postgr.es/m/202403041517.3a35jw53os65@alvherre.pgsql
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/slru.c | modified | +9 −9 |
Discussion
- pgsql: Improve performance of subsystems on top of SLRU 6 messages · 2024-02-28 → 2024-03-04