[erlang-questions] TinyMT PRNG for Erlang/OTP

5 views
Skip to first unread message

Kenji Rikitake

unread,
Apr 26, 2012, 9:32:44 AM4/26/12
to erlang-q...@erlang.org
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

Zabrane Mickael

unread,
Apr 26, 2012, 9:46:08 AM4/26/12
to Kenji Rikitake, erlang-q...@erlang.org
Well done Kenji.


Regards,
Zabrane
Reply all
Reply to author
Forward
0 new messages