Directory — where it appears
Named by 2 essays across one field — each of them below, with the objects they name alongside it.
Select is not rank backwards
Rank counts the ones before a position and select finds the position of the k-th one, and only the first has an obvious structure. The constant-time answer costs 1.56 bits per one, is bounded in a unit the machine does not charge for, and on a vector with one bit in fifty it inspects more positions than the binary search it replaced.
The count that was already there
A bit vector's rank of one is the position minus its rank of zero. Every walk down a wavelet tree computes one of them at every level, and this collection asked for the other separately for years.
Named alongside it
The objects these essays reach for when they reach for this one.
Bit vectorRankSelectAlphabetCompound operationConstant timeCounterDensityIndex sizeMachineMachine wordMeasurement