many improvements to random.nim; fixes #4726
This commit is contained in:
parent
1bb086e7a8
commit
196977f623
2 changed files with 102 additions and 27 deletions
|
|
@ -128,3 +128,7 @@ This now needs to be written as:
|
|||
strings and chars.
|
||||
- Removed ``securehash`` stdlib module as it is not secure anymore. The module
|
||||
is still available via ``compiler/securehash``.
|
||||
- The ``random`` procs in ``random.nim`` have all been deprecated. Instead use
|
||||
the new ``rand`` procs. The module now exports the state of the random
|
||||
number generator as type ``Rand`` so multiple threads can easily use their
|
||||
own random number generators that do not require locking.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue