This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use pairing heap for finding top n in a list
Using pairing heap is significantly faster than inserting into sorted list.
- Loading branch information
Showing 1 changed file with 36 additions and 20 deletions.