Github user davies commented on the pull request:
https://github.com/apache/spark/pull/2030#issuecomment-52677770
@rxin I think we can only benefit from broadcast an rdd when the closure is
big enough, such as more than 1M bytes. But his most cases, the closure shoud
be less than 10k. How about we turn on broadcasting only when the size of
closure is big enough? This may make the code a little bit complicated, but may
be make it faster in most cases (small closure).
---
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]