TinyMT is a pseudo random number generator (PRNG) which has 2^127-1
period, and is designed for parallel execution (with orthogonal multiple
keys and seeds). I've released a preliminary piece of example code at:
https://github.com/jj1bdx/tinymt-erlang/
Note: this implementation is in pure Erlang (i.e., no NIF), and a
preliminary benchmark suggests that it's x0.5 - x1.5 faster than the
random module functions (i.e., of competitive speed).
It's BSD licensed, so feel free to test it by yourself, and feedbacks
are always welcome.
Kenji Rikitake
_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions