Thread overview
[Issue 20746] Change LCG in garbage collector treap to use full 64 bits of state instead of 48
Apr 19, 2020
Dlang Bot
May 20, 2020
Dlang Bot
April 19, 2020
https://issues.dlang.org/show_bug.cgi?id=20746

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@n8sh created dlang/druntime pull request #3042 "Change LCG in garbage collector treap to use full 64 bits of state instead of 48" fixing this issue:

- Fix Issue 20746 - Change LCG in garbage collector treap to use full 64 bits of state instead of 48

https://github.com/dlang/druntime/pull/3042

--
April 19, 2020
https://issues.dlang.org/show_bug.cgi?id=20746

Dominikus Dittes Scherkl <dominikus@scherkl.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dominikus@scherkl.de

--- Comment #2 from Dominikus Dittes Scherkl <dominikus@scherkl.de> ---
Sorry, but there was no bug and this is NOT an improvement.
The generator output is 32 bit and the internal state of course will use the
whole 64 bit (even if not from the start), but it put out bits from the middle
of the state.
Output the lowest 32 bits will make it less "random" - if fact very
predictable.

Please, this is not a good pseudo-random number generateor, but at least it
worked. now its destroyed.
Revert this change!

--
May 20, 2020
https://issues.dlang.org/show_bug.cgi?id=20746

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/druntime pull request #3042 "Change LCG in garbage collector treap to use full 64 bits of state instead of 48" was merged into master:

- 275a33117e5266da65cb5a6393634bbdde7fd00d by Nathan Sashihara:
  Fix Issue 20746 - Change LCG in garbage collector treap to use full 64 bits
of state instead of 48

https://github.com/dlang/druntime/pull/3042

--