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

Increase speed of finding components in large swing hierarchy. #261

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

SeanBurnsUK
Copy link

We have a large swing hierarchy with many thousands of components.

The find is VERY slow because while doing a depth first search of the hierarchy all recursive loops and match checks are queued for the swing thread and block until done.

This change causes the entire search to be done with just a single blocking invocation on the swing thread. This significantly improves the time needed to do a search on the hierarchy.

@henri-tremblay
Copy link

Sounds like a sensible thing to do.

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.

2 participants