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

Look into C# 10 INumber interface #58

Open
BlueRaja opened this issue Nov 12, 2021 · 0 comments
Open

Look into C# 10 INumber interface #58

BlueRaja opened this issue Nov 12, 2021 · 0 comments

Comments

@BlueRaja
Copy link
Owner

BlueRaja commented Nov 12, 2021

Should be able to get a big speed gain in GenericPriorityQueue if number comparison JITs into a single CMP instruction (the current method using Comparison<TPriority> does not).

In fact if that works, I might be able to move the generics over to FastPriorityQueue and get rid of GenericPriorityQueue altogether.

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