diff options
| author | Andres Freund | 2025-12-14 18:09:43 +0000 |
|---|---|---|
| committer | Andres Freund | 2025-12-14 18:09:43 +0000 |
| commit | edbaaea0a95ef1c32ffe8aa62e1556588c7a714b (patch) | |
| tree | f77406a4e82446b61539addacbdf272b76464410 /src/backend/utils/adt/arrayfuncs.c | |
| parent | 5b275a6e154833803d3beb49da0879d2fe8b1d6c (diff) | |
bufmgr: Separate keys for private refcount infrastructure
This makes lookups faster, due to allowing auto-vectorized lookups. It is also
beneficial for an upcoming patch, independent of auto-vectorization, as the
upcoming patch wants to track more information for each pinned buffer, making
the existing loop, iterating over an array of PrivateRefCountEntry, more
expensive due to increasing its size.
Reviewed-by: Melanie Plageman <melanieplageman@gmail.com>
Discussion: https://postgr.es/m/fvfmkr5kk4nyex56ejgxj3uzi63isfxovp2biecb4bspbjrze7@az2pljabhnff
Diffstat (limited to 'src/backend/utils/adt/arrayfuncs.c')
0 files changed, 0 insertions, 0 deletions
