public boolean hasSameContents(TileFeatures other) {
      if (other == null || other.entries.size() != entries.size()) {
        return false;
      }
      for (int i = 0; i < entries.size(); i++) {
        SortableFeature a = entries.get(i);
        SortableFeature b = other.entries.get(i);
        long layerA = extractLayerIdFromKey(a.key());
        long layerB = extractLayerIdFromKey(b.key());
        if (layerA != layerB || !Arrays.equals(a.value(), b.value())) {
          return false;
        }
      }
      return true;
    }
Returns true if {@code other} contains features with identical layer, geometry, and attributes, as this tile -
even if the tiles have separate coordinates.
<p>
Used as an optimization to avoid re-encoding the same ocean tiles over and over again.
planetiler-core/src/main/java/com/onthegomap/planetiler/collection/FeatureGroup.java