diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-06-01 17:38:44 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-06-01 17:38:44 +0000 |
commit | bd2c980b229eb5cf411b1d55bf9b26cca34875d7 (patch) | |
tree | 0677ee408573e19f5c1a2acc6766695aea08143a /src/backend/utils/adt/bool.c | |
parent | 1f559b7d3aa411e08d2ad46a4bd7d9213945b103 (diff) | |
download | postgresql-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