flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ChengXiangLi <...@git.apache.org>
Subject [GitHub] flink pull request: [FLINK-2743] Add XORShfitRandom and use it in ...
Date Wed, 23 Sep 2015 10:25:36 GMT
GitHub user ChengXiangLi opened a pull request:


    [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:


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 <chengxiang.li@intel.com>
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message