GitHub user mdvorsky opened a pull request:
https://github.com/apache/beam/pull/4143
Faster implementation of nexmark.Generator.nextExactString().
nextExactString() shows up on CPU profiles. This is a faster implementation
which calls random.nextInt() less often.
R: @echauchot
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mdvorsky/incubator-beam faster_rnd
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/beam/pull/4143.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 #4143
----
commit b3f233be8b0d05c0840c3d412fbcf346df678858
Author: Marian Dvorsky <[email protected]>
Date: 2017-11-17T14:17:04Z
Faster implementation of nexmark.Generator.nextExactString().
----
---