Improve programmer docs for simplehash and dynahash.
Thomas Munro <tmunro@postgresql.org>
Improve programmer docs for simplehash and dynahash. When reading the code it's not obvious when one should prefer dynahash over simplehash and vice-versa, so, for programmer-friendliness, add comments to inform that decision. Show sample simplehash method signatures. Author: James Coleman <jtc331@gmail.com> Discussion: https://postgr.es/m/CAAaqYe_dOF39gAJ8rL-a3YO3Qo96MHMRQ2whFjK5ZcU6YvMQSA%40mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/hash/dynahash.c | modified | +11 −1 |
| src/include/lib/simplehash.h | modified | +69 −4 |
Discussion
- Comment simplehash/dynahash trade-offs 11 messages · 2020-05-01 → 2020-08-03