rfc:random_extension_improvement
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:random_extension_improvement [2022/07/03 02:45] – begin vote zeriyoshi | rfc:random_extension_improvement [2022/07/22 09:55] (current) – reword two issues as the problem (VS the proposed solution) guilliamxavier | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== PHP RFC: Random Extension Improvement ====== | ====== PHP RFC: Random Extension Improvement ====== | ||
- | * Version: 1.5.3 | + | * Version: 1.5.4 |
* Date: 2022-06-16 | * Date: 2022-06-16 | ||
* Author: Go Kudo < | * Author: Go Kudo < | ||
- | * Status: | + | * Status: |
* First Published at: http:// | * First Published at: http:// | ||
Line 36: | Line 36: | ||
In order to preserve the implementation of the lcg_value() function, the internal implementation is retained, but the implementation as a class is being dropped to prevent users from unintentionally using it. | In order to preserve the implementation of the lcg_value() function, the internal implementation is retained, but the implementation as a class is being dropped to prevent users from unintentionally using it. | ||
- | ==== Add Randomizer:: | + | ==== There is no equivalent of array_rand() ==== |
< | < | ||
Line 67: | Line 67: | ||
Therefore, it may be better to change the alternative method of str_shuffle(), | Therefore, it may be better to change the alternative method of str_shuffle(), | ||
- | ==== Refine | + | ==== Engine |
To clearly identify the implemented algorithm, the PCG64 and MersenneTwister engines should be renamed to their canonical upstream name: | To clearly identify the implemented algorithm, the PCG64 and MersenneTwister engines should be renamed to their canonical upstream name: | ||
Line 87: | Line 87: | ||
==== Engine implementations are not final ==== | ==== Engine implementations are not final ==== | ||
- | <doodle title=" | + | <doodle title=" |
* Yes | * Yes | ||
* No | * No | ||
Line 94: | Line 94: | ||
==== Random\SerializableEngine is not useful ==== | ==== Random\SerializableEngine is not useful ==== | ||
- | <doodle title=" | + | <doodle title=" |
* Yes | * Yes | ||
* No | * No | ||
Line 101: | Line 101: | ||
==== Random\Engine\CombinedLCG is low quality ==== | ==== Random\Engine\CombinedLCG is low quality ==== | ||
- | <doodle title=" | + | <doodle title=" |
* Yes | * Yes | ||
* No | * No | ||
</ | </ | ||
- | ==== Add Randomizer:: | + | ==== There is no equivalent of array_rand() ==== |
- | <doodle title=" | + | <doodle title=" |
* Yes | * Yes | ||
* No | * No | ||
Line 115: | Line 115: | ||
==== " | ==== " | ||
- | <doodle title=" | + | <doodle title=" |
* Yes | * Yes | ||
* No | * No | ||
</ | </ | ||
- | ==== Refine | + | ==== Engine |
- | <doodle title=" | + | <doodle title=" |
* Yes | * Yes | ||
* No | * No | ||
Line 129: | Line 129: | ||
==== PCG is not so famous ==== | ==== PCG is not so famous ==== | ||
- | <doodle title=" | + | <doodle title=" |
* Yes | * Yes | ||
* No | * No | ||
Line 169: | Line 169: | ||
===== Patches and Tests ===== | ===== Patches and Tests ===== | ||
- | currently none | + | * https:// |
===== References ===== | ===== References ===== | ||
* https:// | * https:// |
rfc/random_extension_improvement.txt · Last modified: 2022/07/22 09:55 by guilliamxavier