Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
micro optimisation: instead of counting the priorityIndex to see if i…
…t is empty each time in next(), treat getting the next priority order as the fast path and catch the exception thrown when the queue is empty to handle the empty case.
- Loading branch information