aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/bool.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-06-01 17:38:44 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-06-01 17:38:44 +0000
commitbd2c980b229eb5cf411b1d55bf9b26cca34875d7 (patch)
tree0677ee408573e19f5c1a2acc6766695aea08143a /src/backend/utils/adt/bool.c
parent1f559b7d3aa411e08d2ad46a4bd7d9213945b103 (diff)
downloadpostgresql-bd2c980b229eb5cf411b1d55bf9b26cca34875d7.tar.gz
postgresql-bd2c980b229eb5cf411b1d55bf9b26cca34875d7.zip
Buy back some of the cycles spent in more-expensive hash functions by
selecting power-of-2, rather than prime, numbers of buckets in hash joins. If the hash functions are doing their jobs properly by making all hash bits equally random, this is good enough, and it saves expensive integer division and modulus operations.
Diffstat (limited to 'src/backend/utils/adt/bool.c')
0 files changed, 0 insertions, 0 deletions