I finally understood what sinvaladt.c is doing --- and it
Tom Lane <tgl@sss.pgh.pa.us>
I finally understood what sinvaladt.c is doing --- and it offended my aesthestic sensibility that there was so much unreadable code doing so little. Rewritten code is about half the size, faster, and (I hope) much more intelligible.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/ipc/sinvaladt.c | modified | +230 −691 |
| src/backend/storage/ipc/sinval.c | modified | +15 −44 |
| src/include/storage/lock.h | modified | +2 −2 |
| src/include/storage/sinvaladt.h | modified | +69 −83 |