mirror of
https://github.com/postgres/postgres.git
synced 2026-02-03 20:40:14 -05:00
We've been speculating for a long time that hash-based keyword lookup
ought to be faster than binary search, but up to now we hadn't found
a suitable tool for generating the hash function. Joerg Sonnenberger
provided the inspiration, and sample code, to show us that rolling our
own generator wasn't a ridiculous idea. Hence, do that.
The method used here requires a lookup table of approximately 4 bytes
per keyword, but that's less than what we saved in the predecessor commit
|
||
|---|---|---|
| .. | ||
| base64.h | ||
| config_info.h | ||
| controldata_utils.h | ||
| fe_memutils.h | ||
| file_perm.h | ||
| file_utils.h | ||
| int.h | ||
| int128.h | ||
| ip.h | ||
| keywords.h | ||
| kwlookup.h | ||
| link-canary.h | ||
| md5.h | ||
| pg_lzcompress.h | ||
| relpath.h | ||
| restricted_token.h | ||
| saslprep.h | ||
| scram-common.h | ||
| sha2.h | ||
| string.h | ||
| unicode_norm.h | ||
| unicode_norm_table.h | ||
| username.h | ||