Re: random numbers API

On 11/16/12 7:13 AM, Florian Bösch wrote:
> 4) Alternative implementations in JS suffer even in the presence of
> sophisticated JITing VMs from the fact that mathematics is done in
> doubles (in the case of addition, subtraction, division and
> multiplication) and by converting double -> int -> double (in the case
> of bitshifts and modulo division). This makes it both harder to
> implement a reliable PRNG and it makes it slow.

I would be interested in some specific data here.  Do you have an 
example of a PRNG that is actually being slow?

-Boris

Received on Friday, 16 November 2012 16:40:26 UTC