Mercurial > vim
comparison src/version.c @ 18701:128662297ddf v8.1.2342
patch 8.1.2342: random number generator in Vim script is slow
Commit: https://github.com/vim/vim/commit/06b0b4bc27077013e9b4b48fd1d9b33e543ccf99
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Nov 25 15:40:55 2019 +0100
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 https://github.com/vim/vim/issues/1277)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 25 Nov 2019 15:45:04 +0100 |
parents | 1febd1aa9930 |
children | aef98a646d3e |
comparison
equal
deleted
inserted
replaced
18700:975583db60c0 | 18701:128662297ddf |
---|---|
735 NULL | 735 NULL |
736 }; | 736 }; |
737 | 737 |
738 static int included_patches[] = | 738 static int included_patches[] = |
739 { /* Add new patch number below this line */ | 739 { /* Add new patch number below this line */ |
740 /**/ | |
741 2342, | |
740 /**/ | 742 /**/ |
741 2341, | 743 2341, |
742 /**/ | 744 /**/ |
743 2340, | 745 2340, |
744 /**/ | 746 /**/ |