aboutsummaryrefslogtreecommitdiff
path: root/repl
diff options
context:
space:
mode:
authorPetko Nikolov <nikolov@soundcloud.com>2014-03-27 15:49:07 -0700
committerReynold Xin <rxin@apache.org>2014-03-27 15:49:07 -0700
commit6f986f0b87bd03f4df2bf6c917e61241e9b14ac2 (patch)
tree36117e0f0f046475f2d3496aab0576612d2b14a8 /repl
parent53953d0933c0a7c3bd3bc1003954426363912e4b (diff)
downloadspark-6f986f0b87bd03f4df2bf6c917e61241e9b14ac2.tar.gz
spark-6f986f0b87bd03f4df2bf6c917e61241e9b14ac2.tar.bz2
spark-6f986f0b87bd03f4df2bf6c917e61241e9b14ac2.zip
[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. Author: Petko Nikolov <nikolov@soundcloud.com> Closes #172 from petko-nikolov/bitset-imprv and squashes the following commits: 451f28b [Petko Nikolov] fixed style mistakes 5beba18 [Petko Nikolov] rm outer loop in andNot test 0e61035 [Petko Nikolov] conform to spark style; rm redundant asserts; more unit tests added; use arraycopy instead of loop d53cdb9 [Petko Nikolov] rm incidentally added space 4e1df43 [Petko Nikolov] adding xor and and-not to BitSet; unit tests added
Diffstat (limited to 'repl')
0 files changed, 0 insertions, 0 deletions