Answers are grounded in this paper and cite their sources.
New counting-based methods for comparing the Hamming weight of a binary vector with a constant, as well as comparing the Hamming weights of two input vectors, are proposed. It is shown that the proposed comparators are faster and simpler, both in asymptotic sense and for moderate vector lengths, compared with the best available fully digital designs. These speed and cost advantages result from a more efficient population counting, as well as the merger of counting and comparison operations, via accumulative and up/down parallel counters.
No takes yet. Share an insight, caveat, or question.
Behrooz Parhami (2009) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: