docs: @Override
    public final void insertAll(DBIDs ids) {
      if(ids.isEmpty() || (ids.size() == 1)) {
        return;
      }
  
      // Make an example leaf
      if(canBulkLoad()) {
        List<RdKNNEntry> leafs = new ArrayList<>(ids.size());
        for(DBIDIter iter = ids.iter(); iter.valid(); iter.advance()) {
          leafs.add(createNewLeafEntry(DBIDUtil.deref(iter)));
        }
        bulkLoad(leafs);
      }
      else {
        for(DBIDIter iter = ids.iter(); iter.valid(); iter.advance()) {
          insert(iter);
        }
      }
  
      doExtraIntegrityChecks();
    }