| From: | Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> |
|---|---|
| To: | Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Aleksander Alekseev <aleksander(at)timescale(dot)com>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: rand48 replacement |
| Date: | 2021-07-03 07:06:06 |
| Message-ID: | alpine.DEB.2.22.394.2107030902400.2359988@pseudo |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hello Dean & Tom,
Here is a v4, which:
- moves the stuff to common and fully removes random/srandom (Tom)
- includes a range generation function based on the bitmask method (Dean)
but iterates with splitmix so that the state always advances once (Me)
--
Fabien.
| Attachment | Content-Type | Size |
|---|---|---|
| prng-4.patch | text/x-diff | 47.3 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Domingo Alvarez Duarte | 2021-07-03 08:39:02 | Grammar railroad diagram |
| Previous Message | Dilip Kumar | 2021-07-03 05:53:06 | Re: Logical replication - schema change not invalidating the relation cache |