Clean up some really grotty coding in catcache.c, improve hashing
Tom Lane <tgl@sss.pgh.pa.us>
Clean up some really grotty coding in catcache.c, improve hashing performance in catcache lookups.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/hash/hashfunc.c | modified | +20 −7 |
| src/backend/utils/adt/int.c | modified | +13 −9 |
| src/backend/utils/cache/catcache.c | modified | +79 −95 |
| src/include/access/hash.h | modified | +2 −1 |
| src/include/catalog/pg_proc.h | modified | +3 −3 |
| src/include/catalog/pg_type.h | modified | +3 −8 |
| src/include/utils/builtins.h | modified | +2 −2 |
| src/include/utils/catcache.h | modified | +5 −3 |
| src/include/utils/int8.h | modified | +1 −3 |