mirror of
https://github.com/postgres/postgres.git
synced 2025-12-07 00:02:34 -05:00
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.