Re: Small optimization with expanding dynamic hash table
cca5507 <cca5507@qq.com>
From: cca5507 <cca5507@qq.com>
To: Rahila Syed <rahilasyed90@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-07-10T02:45:44Z
Lists: pgsql-hackers
Attachments
- v2-0001-Small-optimization-with-expanding-dynamic-hash-ta.patch (application/octet-stream) patch v2-0001
Hi, The v2 patch maybe more clear: We can calc bucket just by hashvalue & high_mask when expanding table because the if condition in calc_bucket() must be false. -- Regards, ChangAo Chen