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

Add System.Collections.Generic.PriorityQueue<TElement, TPriority> polyfill #79

Open
latonz opened this issue Aug 2, 2023 · 0 comments

Comments

@latonz
Copy link

latonz commented Aug 2, 2023

Description

Add a polyfill for the System.Collections.Generic.PriorityQueue<TElement, TPriority> added in .NET 6.0.

Rationale

Polyfilling System.Collections.Generic.PriorityQueue<TElement, TPriority> helps developers using the same priority queue API in older tfms without the need for preprocessor directives.

Proposed API

According to the .NET 7.0 implementation.

Drawbacks

Another polyfill to maintain.

Alternatives

Not supporting System.Collections.Generic.PriorityQueue<TElement, TPriority>

@latonz latonz closed this as not planned Won't fix, can't repro, duplicate, stale Aug 2, 2023
@latonz latonz reopened this Aug 2, 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

No branches or pull requests

1 participant