News for hackers. Stuff that matters.
Re:Show HN: Imagededup – Finding duplicate images made easy by jonatron on Monday October 07, 2019 @08:55AM (#21180174)
The implementation is trivial, for speed we use:

cdef extern int __builtin_popcountll(unsigned long long) nogil

dist = __builtin_popcountll(key ^ phash)

It would only take a couple of minutes to fill out the rest.

There are no comments on this comment yet.