Skip to content

Conversation

@chsienki
Copy link
Member

@chsienki chsienki commented Feb 14, 2023

Partially reverts #8135

Unfortunately, it isn't valid to short circuit in all cases. It's possible for a descriptor to have multiple registration keys. We also can't just add it when we create the hash set, because it could be created by a different provider.

We could probably track which sets a descriptor has been added to, so as to not try and add it multiple times, but I'm not convinced it would be all that much faster (we can benchmark this in another PR if we're interested).

@chsienki chsienki changed the base branch from main to release/dev17.6 February 14, 2023 00:34
@chsienki chsienki force-pushed the fix_taghelper_lookup branch from bc86c69 to 160d4f5 Compare February 14, 2023 00:35
@chsienki
Copy link
Member Author

@dotnet/razor-compiler for review please

@chsienki chsienki marked this pull request as ready for review February 14, 2023 01:26
@chsienki chsienki requested a review from a team as a code owner February 14, 2023 01:26
@chsienki chsienki added the area-compiler Umbrella for all compiler issues label Feb 14, 2023
@chsienki chsienki added this to the 17.6 P2 milestone Feb 14, 2023
@chsienki chsienki changed the base branch from release/dev17.6 to main February 14, 2023 18:28
@sebastienros
Copy link
Member

I have restarted a build step to get it green (network failure I think). It's all green now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-compiler Umbrella for all compiler issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants