George Solodovnikov <[email protected]> wrote on 03/18/2015 06:42:01 AM:
>
> Hi,
> In X10 2.5.2 in Random found no more setSeed(Long). Do you have any
> info, please,
> or I miss something since 2.5.0?

Hi,

        We switched the implementation of x10.util.Random to use the new
SplittableRandom algorithm by Steele, Lea, and Flood from OOPSLA'14.  As
part of that, we got rid of the setSeed method because unlike the prior
MersenseTwister implementation, it is now very cheap to allocate a new
Random instance if you want to use a different seed.

        Have you observed that allocating a new Random instance with the new
implementation actually has a measurable performance cost?

--dave
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
X10-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to