HackerTrans
TopNewTrendsCommentsPastAskShowJobs

gonemachine

no profile record

comments

gonemachine
·2년 전·discuss
I used ```hamming_bitwise(x::Union{UInt, UInt128, BigInt}, y::Union{UInt, UInt128, BigInt}) = count_ones(x ⊻ y)``` to get a fast hamming distance with "binary vectors" encoded as ints.