[erlang-questions] TinyMT PRNG for Erlang/OTP

Zabrane Mickael <>
Thu Apr 26 15:46:08 CEST 2012


Well done Kenji.


Regards,
Zabrane

On Apr 26, 2012, at 3:32 PM, Kenji Rikitake wrote:

> 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
> 
> http://erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list