Struct faiss::HammingComputer

template<int CODE_SIZE>
struct faiss::HammingComputer : public faiss::HammingComputerDefault

Public Functions

inline HammingComputer(const uint8_t *a, int code_size)
inline void set(const uint8_t *a8, int code_size)
inline int hamming(const uint8_t *b8) const

Public Members

const uint8_t *a8
int quotient8
int remainder8