Skip to content

Tidy up methods for layout ties and bends #27592

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

Merged
merged 1 commit into from
Apr 11, 2025

Conversation

mike-spa
Copy link
Contributor

@mike-spa mike-spa commented Apr 8, 2025

Follow up to #27574

segList.push_back(&seg);
}
if (mb->isMeasure()) {
collectElementsToLayout(toMeasure(mb), elements, ctx);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Collecting all elements in a system when we know we only want the system, measures, and chords seems a waste of time on the surface. I doubt the performace/space improvements gained with only collecting what we need here would amount to much. Maybe something to bear in mind when you want to squeeze some more performance out of system layout!

@mike-spa mike-spa merged commit ea31b9e into musescore:master Apr 11, 2025
11 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in MuseScore Studio 4.6 Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants