Skip to content

Conversation

@davidwrighton
Copy link
Member

@davidwrighton davidwrighton commented Aug 4, 2022

  • Input bubble checks for making sure that the input bubble is valid are not currently processed for non-composite scenarios
  • Refactor them so that they are not n^2 in cost, and are handled for both composite and non-composite scenarios

Fixes #71131

- Input bubble checks for making sure that the input bubble is valid are not currently processed for non-composite scenarios
- Refactor them so that they are not n^2 in cost, and are handled for both composite and non-composite scenarios
@ghost ghost assigned davidwrighton Aug 4, 2022
@runfoapp runfoapp bot mentioned this pull request Aug 4, 2022
@davidwrighton davidwrighton marked this pull request as ready for review August 6, 2022 00:23
@davidwrighton davidwrighton requested a review from trylek August 6, 2022 00:23

static LPCUTF8 GetKey(const SimpleNameToExpectedMVIDAndRequiringAssembly& e) { return e.SimpleName; }

static BOOL Equals(LPCUTF8 a, LPCUTF8 b) { return strcmp(a, b) == 0; } // Use a case senstive comparison here even though
Copy link
Member

Choose a reason for hiding this comment

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

Nit - typo (senstive -> sensitive)

Copy link
Member

@trylek trylek left a comment

Choose a reason for hiding this comment

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

Beautiful optimization and general improvement, thank you!

@davidwrighton davidwrighton merged commit 760babb into dotnet:main Aug 8, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Sep 8, 2022
@davidwrighton davidwrighton deleted the refactor_inputbubble_checks_to_work_in_non_composite_scenarios branch April 13, 2023 18:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Breaking R2R (crossgen2) input bubble promise results leads to corrupted execution

2 participants