@Override
    public boolean isEmpty() {
        return size == 0;
    }
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