An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 5.8% dependent packages on proxy.golang.org
Top 4.7% dependent repos on proxy.golang.org

proxy.golang.org : github.com/csimplestring/deheap

Package deheap provides the implementation of a doubly ended heap. Doubly ended heaps are heaps with two sides, a min side and a max side. Like normal single-sided heaps, elements can be pushed onto and pulled off of a deheap. deheaps have an additional Pop function, PopMax, that returns elements from the opposite side of the ordering. This implementation has emphasized compatibility with existing libraries in the sort and heap packages. Performace of the deheap functions should be very close to the performance of the functions of the heap library This example inserts several ints into an IntHeap, checks the minimum, and removes them in order of priority.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/csimplestring/deheap
License: MIT
Latest release: about 4 years ago
First release: about 4 years ago
Namespace: github.com/csimplestring
Dependent packages: 4
Dependent repositories: 1
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 5 days ago

    Loading...
    Readme
    Loading...