Re: pgbench - add pseudo-random permutation function - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: pgbench - add pseudo-random permutation function
Date
Msg-id alpine.DEB.2.21.1810010927520.4827@lancre
Whole thread Raw
In response to Re: pgbench - add pseudo-random permutation function  (Michael Paquier <michael@paquier.xyz>)
Responses Re: pgbench - add pseudo-random permutation function  (Hironobu SUZUKI <hironobu@interdb.jp>)
List pgsql-hackers
>     PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
> Subject: Re: pgbench - add pseudo-random permutation function
> 
> On Wed, Sep 26, 2018 at 01:20:49PM +0200, Fabien COELHO wrote:
>> So, am I right to deducing that you are satisfied with the current status of
>> the patch, with the nbits implementation either based on popcount (v4) or
>> clz (v5) compiler intrinsics? I think that the clz option is better.
>
> Fabien, please note that v5 does not apply,

Indeed, tests interact with 92a0342 committed on Thursday.

Here is a rebase of the latest version based on CLZ. According to basic 
test I made, the underlying hardware instruction seems to be more often 
available.

> so I moved this patch to next CF, waiting on author.

I'm going to change its state to "Needs review".

-- 
Fabien.
Attachment

pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: Hash Joins vs. Bloom Filters / take 2
Next
From: Christoph Moench-Tegeder
Date:
Subject: Re: Function for listing archive_status directory