@Override
    public Iterator<E> iterator() {
        return new ArrayIterator<E>();
    }
This is an extremely expensive implementation of
{@link Set#containsAll(Collection)}. It is implemented as O(n**2).
vespajlib/src/main/java/com/yahoo/collections/TinyIdentitySet.java