Work

Counting Ones Without Broadword Operations

Year: 2015
Type: preprint
Abstract: A lower time bound $Ω(\min(ν(x), n-ν(x))$ for counting the number of ones in a binary input word $x$ of length $n$ is presented, where $ν(x)$ is the number of ones. The operations available are increment, decrement, bit-wise logical operations, and assignment. The only constant available is zero. An almost matching upper bound is also obtained.
Language: English
Open Access status: green
OpenAlex ID: W2253980006
Cites: 3
Cited by:
Related to: 20