|
I’d like to leave the standard Lua rand in place please. I’d like the authors to retain
copyright for all of the material in the standard Lua distrib.
It is very easy to replace rand with one of your own,
whether Lua is embedded or a library. It also fits with the philosophy that Lua
is ANSI C and it uses ANSI rand, regardless of how
good it is. My half a shekel… Nick -----Original Message----- As long as you can over-ride Math.random()
and Math.randomseed(), then I don't recommend changing the standard
library functions for some new/better routine. Unless you are trying to guarantee cross
platform compatibility out of the box. Brian.
|