I wrote:
> Patch 8.1.2342
> Problem: Random number generator in Vim script is slow.
> Solution: Add rand() and srand(). (Yasuhiro Matsumoto, closes #1277)
> Files: runtime/doc/eval.txt, src/evalfunc.c,
> src/testdir/Make_all.mak,
> src/testdir/test_random.vim
I would appreciate it if someone with knowledge of statistics would give
this a try and check that it's sufficiently random.
I also wonder if there is something better to seed with than time().
--
hundred-and-one symptoms of being an internet addict:
119. You are reading a book and look for the scroll bar to get to
the next page.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/201911252239.xAPMdQ2b002805%40masaka.moolenaar.net.