Optimize SearchPathCache by saving the last entry.
Jeff Davis <jdavis@postgresql.org>
Optimize SearchPathCache by saving the last entry. Repeated lookups are common, so it's worth it to check the last entry before doing another hash lookup. Discussion: https://postgr.es/m/04c8592dbd694e4114a3ed87139a7a04e4363030.camel%40j-davis.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/catalog/namespace.c | modified | +57 −31 |
Discussion
- Faster "SET search_path" 28 messages · 2023-07-29 → 2024-07-09