High-Speed-Priority-Queue-for-C-Sharp icon indicating copy to clipboard operation
High-Speed-Priority-Queue-for-C-Sharp copied to clipboard

Look into C# 10 INumber interface

Open BlueRaja opened this issue 4 years ago • 0 comments

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.

BlueRaja avatar Nov 12 '21 21:11 BlueRaja