bd73d1bb75
The previous heap Final() loop would decrement count all the way to 0 when it only has to fill enough of the return slice. |
||
---|---|---|
.. | ||
bench_test.go | ||
heap.go | ||
list.go | ||
search_test.go | ||
slice.go | ||
topn_test.go | ||
topn.go |
bd73d1bb75
The previous heap Final() loop would decrement count all the way to 0 when it only has to fill enough of the return slice. |
||
---|---|---|
.. | ||
bench_test.go | ||
heap.go | ||
list.go | ||
search_test.go | ||
slice.go | ||
topn_test.go | ||
topn.go |