Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor declaration uniqueness check #801

Closed
ekarademir opened this issue Feb 6, 2024 · 0 comments · Fixed by #802
Closed

Refactor declaration uniqueness check #801

ekarademir opened this issue Feb 6, 2024 · 0 comments · Fixed by #802

Comments

@ekarademir
Copy link
Contributor

Discussion 🗣

After an internal discussion, the fix in #794 which was fixing #785 was more naive than intended. For the sad path that if very long names with long over laps are used for declarations, and if there is a repeating declaration name in the list, then creating the validation error would be another O(n^2) loop.

We should refactor the code to run more efficiently.

Context

Detailed Description

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 a pull request may close this issue.

1 participant