Skip to content

Conversation

@Stephen0512
Copy link

This PR improves schema deduplication performance by replacing a list with a set when tracking previously seen (targetNamespace, filename) pairs.

Since this seen list is only used for membership checks in the current method, using a set provides O(1) average-time lookups and better matches the intended usage, while preserving existing behavior.

The issue was identified during an ongoing research project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant