//
pkg.gl
Category
github.com/truechain/truechain-engineering-code
common
prque
package
3.0.3+incompatible
Repository:
https://github.com/truechain/truechain-engineering-code.git
Documentation:
pkg.go.dev
Overview
Versions
2
Dependencies
3
Dependents
16
Files
232 SLOC
#
Functions
New
New creates a new priority queue.
NewLazyQueue
NewLazyQueue creates a new lazy queue.
#
Structs
LazyQueue
LazyQueue is a priority queue data structure where priorities can change over time and are only evaluated on demand.
Prque
Priority queue data structure.
#
Type aliases
MaxPriorityCallback
No description provided by the author
PriorityCallback
No description provided by the author
SetIndexCallback
SetIndexCallback is called when the element is moved to a new index.