Skip to content

NFC: refactor getRequirementsWithInversesAndOmitted#90026

Merged
kavon merged 1 commit into
swiftlang:mainfrom
kavon:fix/rdar179726255-pt2
Jun 18, 2026
Merged

NFC: refactor getRequirementsWithInversesAndOmitted#90026
kavon merged 1 commit into
swiftlang:mainfrom
kavon:fix/rdar179726255-pt2

Conversation

@kavon

@kavon kavon commented Jun 17, 2026

Copy link
Copy Markdown
Member
  • Avoids stack space allocation for the common non-printing case of omitting the extra requirements.

  • Avoids the pattern of passing the same mutable vector twice to the function, instead opting for a boolean and adding them to the existing output vector argument if true.

- Avoids stack space allocation for the common non-printing case
of omitting the extra requirements.

- Avoids the pattern of passing the same mutable vector twice
to the function, instead opting for a boolean and adding them to
the existing output vector argument if true.
@kavon

kavon commented Jun 17, 2026

Copy link
Copy Markdown
Member Author

@swift-ci smoke test

@kavon

kavon commented Jun 17, 2026

Copy link
Copy Markdown
Member Author

@swift-ci smoke test macOS

@kavon kavon merged commit d9cb7fe into swiftlang:main Jun 18, 2026
3 checks passed
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