docs: @Deprecated
    private static int cardinalityInBitmapWordRange(LongBuffer bitmap, int start, int end) {
      if (isBackedBySimpleArray(bitmap)) {
        return Util.cardinalityInBitmapWordRange(bitmap.array(), start, end);
      }
      if (start >= end) {
        return 0;
      }
      int firstword = start / 64;
      int endword = (end - 1) / 64;
      int answer = 0;
      for (int i = firstword; i <= endword; i++) {
        answer += Long.bitCount(bitmap.get(i));
      }
      return answer;
    }