Github user mengxr commented on the pull request:
https://github.com/apache/spark/pull/8182#issuecomment-132354472
No particular reason. Just want to have less hash collision while keeping
the computation cheap. 16 is certainly not sufficient. See
https://en.wikipedia.org/wiki/Java_hashCode()#The_java.lang.String_hash_function.
In practice, a sparse instance usually has less than a few hundred nonzeros. I
chose 64 for this reason, but I'm okay with 128, 256, 512, or 1024. However, a
value greater than 1024 would be too much.
---
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]