Github user cloud-fan commented on the issue:
https://github.com/apache/spark/pull/13663
IIUC, this PR adds a global variable to eliminate some if branches that are
very easy to be optimized by javac or JIT.
I think this is not a good tradeoff, the readability of the scala code is
much more important than the readability(or code size) of the generated java
code.
cc @davies
---
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]