0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 8.1.2342: random number generator in Vim script is slow

Problem:    Random number generator in Vim script is slow.
Solution:   Add rand() and srand(). (Yasuhiro Matsumoto, closes #1277)
This commit is contained in:
Bram Moolenaar
2019-11-25 15:40:55 +01:00
parent 67a2deb9cb
commit 06b0b4bc27
5 changed files with 163 additions and 0 deletions

View File

@@ -737,6 +737,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2342,
/**/
2341,
/**/