git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: c79aed4) | patch
Improve programmer docs for simplehash and dynahash.
Sat, 1 Aug 2020 00:16:15 +0000 (12:16 +1200)
Sat, 1 Aug 2020 00:16:15 +0000 (12:16 +1200)
commit 84c0e4b9bce794da914fe9c062753bf21369745f
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
src/backend/utils/hash/dynahash.c diff | blob | blame | history
src/include/lib/simplehash.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /