Re: Small optimization with expanding dynamic hash table - Mailing list pgsql-hackers

From cca5507
Subject Re: Small optimization with expanding dynamic hash table
Date
Msg-id tencent_371D9ECFC197DD7DA86AE1526D59CAB8CC06@qq.com
Whole thread Raw
In response to Re: Small optimization with expanding dynamic hash table  ("cca5507" <cca5507@qq.com>)
List pgsql-hackers
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

Attachment

pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Re: Can can I make an injection point wait occur no more than once?
Next
From: Richard Guo
Date:
Subject: Re: Why our Valgrind reports suck