Re: Allow simplehash to use already-calculated hash values

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Allow simplehash to use already-calculated hash values
Date: 2019-07-17 18:17:46
Message-ID: 8faac84f1bd51dcb3c1217919b5601cd15ba1bb8.camel@j-davis.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 2019-07-16 at 15:46 -0700, Andres Freund wrote:
> ISTM that it'd be best to just have a static inline helper function
> employed both the hash-passing and the "traditional" insertion
> routines?
> Then that problem ought to not exist anymore.

Agreed, attached.

Regards,
Jeff Davis

Attachment Content-Type Size
0001-Allow-simplehash-to-use-already-calculated-hash-valu.patch text/x-patch 5.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2019-07-17 18:20:24 Re: Change ereport level for QueuePartitionConstraintValidation
Previous Message Andres Freund 2019-07-17 18:14:28 Re: refactoring - share str2*int64 functions