Better HN
topnewbestaskshowjobs
Log inSign up

gonemachine

1 karma · joined May 18, 2024 (2y ago) · 1 submissions

Submissions

comment 2y ago · link · parent

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.