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. I think you may add a comment to this path so that code reviewers can clearly see your optimization.
Thanks On Thu, Jul 10, 2025 at 10:46 AM cca5507 <cca5...@qq.com> wrote: > 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 > >