aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorJohn Naylor <john.naylor@postgresql.org>2024-04-06 12:17:07 +0700
committerJohn Naylor <john.naylor@postgresql.org>2024-04-06 12:20:40 +0700
commitf956ecd0353b2960f8322b2211142113fe2b6f67 (patch)
tree19ba604fb7f7cf34f3fcfbb4349810cb26a29030 /doc/src
parentdb17594ad73a871a176a9bf96e0589c2cf57052c (diff)
downloadpostgresql-f956ecd0353b2960f8322b2211142113fe2b6f67.tar.gz
postgresql-f956ecd0353b2960f8322b2211142113fe2b6f67.zip
Convert uses of hash_string_pointer to fasthash equivalent
Remove duplicate hash_string_pointer() function definitions by creating a new inline function hash_string() for this purpose. This has the added advantage of avoiding strlen() calls when doing hash lookup. It's not clear how many of these are perfomance-sensitive enough to benefit from that, but the simplification is worth it on its own. Reviewed by Jeff Davis Discussion: https://postgr.es/m/CANWCAZbg_XeSeY0a_PqWmWqeRATvzTzUNYRLeT%2Bbzs%2BYQdC92g%40mail.gmail.com
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions