Skip to content
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

Share the majority of code between the Binary and Flat-Array versions of our interval trees. #73859

Merged
merged 18 commits into from
Jun 6, 2024

Conversation

CyrusNajmabadi
Copy link
Member

Use generics and witness types heavily to get entirely specialized codegen for each type.

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Jun 5, 2024
@CyrusNajmabadi CyrusNajmabadi marked this pull request as ready for review June 5, 2024 21:08
@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner June 5, 2024 21:08

namespace Microsoft.CodeAnalysis.Shared.Collections;

internal interface IIntervalTreeHelper<T, TIntervalTree, TNode>
Copy link
Member Author

Choose a reason for hiding this comment

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

renamed to IIntervalTreeWitness in followup pr as this is a witness type pattern.

Copy link
Contributor

@ToddGrun ToddGrun left a comment

Choose a reason for hiding this comment

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

:shipit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants