GitHub user petko-nikolov opened a pull request:
https://github.com/apache/spark/pull/172
[SPARK-1268] Adding XOR and AND-NOT operations to
spark.util.collection.BitSet
Symmetric difference (xor) in particular is useful for computing some
distance metrics (e.g. Hamming). Unit tests added.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/petko-nikolov/spark bitset-imprv
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/172.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 #172
----
commit 4e1df434c9798b4098f993a08ca149f427159a00
Author: Petko Nikolov <[email protected]>
Date: 2014-03-18T15:01:25Z
adding xor and and-not to BitSet; unit tests added
commit d53cdb95e0bff2a46d5a475beb9bb7067e1459bb
Author: Petko Nikolov <[email protected]>
Date: 2014-03-18T15:10:34Z
rm incidentally added space
----
---
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.
---