GitHub user SaintBacchus opened a pull request:
https://github.com/apache/spark/pull/3750
[Minor] Improve some code in BroadcastTest for short
Using
val arr1 = (0 until num).toArray
instead of
val arr1 = new Array[Int](num)
for (i <- 0 until arr1.length) {
arr1(i) = i
}
for short.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/SaintBacchus/spark BroadcastTest
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/3750.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 #3750
----
commit 43adb70a3c617961399ed85e1be48bbc2c95e421
Author: carlmartin <[email protected]>
Date: 2014-12-20T05:00:49Z
Improve some code in BroadcastTest for short
----
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]