[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Improve `seed->random-state' in stable-2.0?
From: |
Mark H Weaver |
Subject: |
Re: Improve `seed->random-state' in stable-2.0? |
Date: |
Sat, 21 Jan 2012 03:20:26 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
David Kastrup <address@hidden> writes:
> Actually, you don't need a PRNG at all. Generate a _good_ random
> starting value, and count sequentially from there.
This is _exactly_ what my patch does, on a per-thread basis.
The starting value is read directly from /dev/urandom if available.
However, if /dev/urandom cannot be read, the PRNG is used to generate
the starting value. This is a last resort, and ideally we should never
use it.
Thanks,
Mark
- Improve `seed->random-state' in stable-2.0?, Mark H Weaver, 2012/01/19
- Re: Improve `seed->random-state' in stable-2.0?, David Kastrup, 2012/01/20
- Re: Improve `seed->random-state' in stable-2.0?, Andy Wingo, 2012/01/20
- Re: Improve `seed->random-state' in stable-2.0?, Mike Gran, 2012/01/20
- Re: Improve `seed->random-state' in stable-2.0?, Andy Wingo, 2012/01/23
- Re: Improve `seed->random-state' in stable-2.0?, Mike Gran, 2012/01/23
- Re: Improve `seed->random-state' in stable-2.0?, Andy Wingo, 2012/01/23
- Re: Improve `seed->random-state' in stable-2.0?, Mike Gran, 2012/01/24
- Re: Improve `seed->random-state' in stable-2.0?, Andy Wingo, 2012/01/24