private Label[] createSmallIndexLabels(int count) {
        var labels = new Label[count];

        for (var i = 0; i < count; i++) {
            labels[i] = new LabelImpl(i, String.valueOf(i));
        }

        return labels;
    }
Creates a label cache.

@param lockStripes number of lock stripes, should be proportional to the number of threads using the cache.
@param smallIndexSize size of a cache used to store pre-computed labels for small index labels.
vespajlib/src/main/java/com/yahoo/tensor/impl/LabelCache.java