Re: pgbench - add pseudo-random permutation function
Suzuki Hironobu <hironobu@interdb.jp>
From: Hironobu SUZUKI <hironobu@interdb.jp>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Cc: Fabien COELHO <coelho@cri.ensmp.fr>,
Alvaro Herrera <alvherre@2ndquadrant.com>
Date: 2019-02-10T17:46:15Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
pgbench: Function to generate random permutations.
- 6b258e3d688d 14.0 landed
-
Add basic support for using the POPCNT and SSE4.2s LZCNT opcodes
- 711bab1e4d19 12.0 cited
-
Further improve code for probing the availability of ARM CRC instructions.
- a7a7387575b8 11.0 cited
Attachments
- pgbench-prp-func-13.patch (text/plain) patch
I updated the patch. And also I added some explanations and simple examples in the modular_multiply function. Fabian-san, To make easily understanding, I think it is a good idea to add a brief explanation of outline the pseudorandom_perm function and bijective functions/transformations. What do you think about? Best regards, On 2019/02/02 1:16, Michael Paquier wrote: > On Thu, Oct 25, 2018 at 08:21:27AM +0200, Fabien COELHO wrote: >> Thanks for the hint. Here is an updated patch using this marker. >> >> I noticed that some instances use a closing "*-----" sequence, but it does >> not seem useful, so I left it out. >> >> I have also tried to improve a few comments, and moved a declaration into a >> loop because I did not like the pg-indented version much. > > This patch is marked as ready for committer for some time now, and it > has rotten, so I am moving it to next CF, waiting on author. > -- > Michael >