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

Performance fixes: wrong collections and unmodifiable views causing inefficiencies #492

Merged
merged 3 commits into from
Jun 13, 2024

Conversation

mkorbel1
Copy link
Contributor

Description & Motivation

See #489 for the initial bug which started this PR.

This PR includes changes to support efficient iteration and search through collections in multiple APIs where incorrect usage of collections and unmodifiable views could cause severe performance issues for large numbers of elements.

Also, this adds an UnmodifiableTraverseableCollectionView to help support the use cases.

Related Issue(s)

Fix #489

Testing

Backwards-compatibility

Is this a breaking change that will not be backwards-compatible? If yes, how so?

Only performance changes should be visible in existing APIs.

Documentation

Does the change require any updates to documentation? If so, where? Are they included?

No

@mkorbel1 mkorbel1 merged commit 2dfcc08 into intel:main Jun 13, 2024
3 checks passed
@mkorbel1 mkorbel1 deleted the listviewset branch June 13, 2024 21:05
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.

Performance bug: List view wrapping a Set for Module.subModules
1 participant