@Override
	public PathMatcher applyKeys(Align align, List<String> indices) {
		Set<PathPattern> patterns = new HashSet<>();
		for (PathPattern pat : this.patterns) {
			patterns.add(pat.applyKeys(align, indices));
		}
		return new PathMatcher(Collections.unmodifiableSet(patterns));
	}
TODO: We could probably do a lot better, esp. for many patterns, by using a trie.
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/model/target/path/PathMatcher.java