code: void build()
      {
          _ranks = new int[_units.size()];
  
          _numOnes = 0;
          for (int i = 0; i < _units.size(); ++i)
          {
              _ranks[i] = _numOnes;
              _numOnes += popCount(_units.get(i));
          }
      }
docs: 构建