GitHub user ChengXiangLi opened a pull request:

    https://github.com/apache/flink/pull/1170

    [FLINK-2743] Add XORShfitRandom and use it in RandomSamplers.

    Implement the XORShfitRandom based on the XORShift algorithm, it shows 4.5X 
faster than `java.util.Random` in benchmark. And update all RandomSample 
implements to use XORShiftRandom.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ChengXiangLi/flink xorshiftrandom

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/1170.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1170
    
----
commit 6425b746aac7bab2a2102d7ea623155b83e12965
Author: chengxiang li <[email protected]>
Date:   2015-09-23T10:08:06Z

    [FLINK-2743] Add XORShfitRandom and use it in RandomSamplers.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to