postgresql/src/backend/utils/hash
Tom Lane 80860c32d9 Improve dynahash.c's API so that caller can specify the comparison function
as well as the hash function (formerly the comparison function was hardwired
as memcmp()).  This makes it possible to eliminate the special-purpose
hashtable management code in execGrouping.c in favor of using dynahash to
manage tuple hashtables; which is a win because dynahash knows how to expand
a hashtable when the original size estimate was too small, whereas the
special-purpose code was too stupid to do that.  (See recent gripe from
Stephan Szabo about poor performance when hash table size estimate is way
off.)  Free side benefit: when using string_hash, the default comparison
function is now strncmp() instead of memcmp().  This should eliminate some
part of the overhead associated with larger NAMEDATALEN values.
2003-08-19 01:13:41 +00:00
..
dynahash.c Improve dynahash.c's API so that caller can specify the comparison function 2003-08-19 01:13:41 +00:00
hashfn.c Improve dynahash.c's API so that caller can specify the comparison function 2003-08-19 01:13:41 +00:00
Makefile XLOG (and related) changes: 2001-03-13 01:17:06 +00:00
pg_crc.c Update copyrights to 2003. 2003-08-04 02:40:20 +00:00