rfc:rng_fixes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:rng_fixes [2016/06/14 14:47] – leigh | rfc:rng_fixes [2016/06/16 18:48] – leigh | ||
---|---|---|---|
Line 38: | Line 38: | ||
* Platform-specific outputs | * Platform-specific outputs | ||
* Poor scaling of bounded outputs | * Poor scaling of bounded outputs | ||
+ | |||
+ | This would also give a performance benefit to heavy users of the functions, as < | ||
== Fix mt_rand() implementation == | == Fix mt_rand() implementation == | ||
The implementation of < | The implementation of < | ||
- | It is not known if the period | + | It is not known if the period of the RNG is negatively affected due to this typo, although statistical analysis suggests that the quality of the output is unaffected. |
As < | As < | ||
Line 64: | Line 66: | ||
These instances should all be fixed to use the secure random number generator (even mcrypt which is deprecated) | These instances should all be fixed to use the secure random number generator (even mcrypt which is deprecated) | ||
+ | |||
+ | == Make array_rand() more efficient == | ||
+ | It has been noted that ([[http:// | ||
===== Backward Incompatible Changes ===== | ===== Backward Incompatible Changes ===== | ||
Line 96: | Line 101: | ||
===== Proposed Voting Choices ===== | ===== Proposed Voting Choices ===== | ||
- | This will be an all or nothing vote (after discussion), and as the changes | + | Individual votes will be held for the remaining proposals, and since minor BC breaks |
===== Patches and Tests ===== | ===== Patches and Tests ===== | ||
- | WIP - I will release a patch after a week or so of discussion has taken place | + | WIP - I will release a patch after a week or so of discussion has taken place when there is a better idea of which proposals are wanted. |
===== Implementation ===== | ===== Implementation ===== |
rfc/rng_fixes.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1