Skip to content

Conversation

@xedin
Copy link
Contributor

@xedin xedin commented Aug 31, 2023

Addresses recently discovered performance regression.
findChildContaining has to handle macros and for that
it needs a parent module, looking it up every time is expensive
because it involves walking up back to a source file scope.

Resolves: rdar://114667408
Resolves: rdar://114667496

Addresses recently discovered performance regression.
`findChildContaining` has to handle macros and for that
it needs a parent module, looking it up every time is
expensive because it involves walking up back to a source
file scope.

Resolves: rdar://114667408
Resolves: rdar://114667496
@xedin
Copy link
Contributor Author

xedin commented Aug 31, 2023

@swift-ci please test

Copy link
Contributor

@slavapestov slavapestov left a comment

Choose a reason for hiding this comment

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

Looks great!

@xedin
Copy link
Contributor Author

xedin commented Aug 31, 2023

@swift-ci please test Linux platform

@xedin xedin merged commit 3aa046a into swiftlang:main Sep 1, 2023
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