Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/RoaringBitmap/roaring
/ Push
Method
Push
priorityqueue.go:28–33 ·
view source on GitHub ↗
(x interface{})
Source
from the content-addressed store, hash-verified
26
}
27
28
func
(pq *priorityQueue) Push(x
interface
{}) {
29
n := len(*pq)
30
item := x.(*item)
31
item.index = n
32
*pq = append(*pq, item)
33
}
34
35
func
(pq *priorityQueue) Pop()
interface
{} {
36
old := *pq
Callers
3
HeapOr
Function · 0.45
HeapXor
Function · 0.45
TestFastAggregationsCont
Function · 0.45
Calls
no outgoing calls
Tested by
1
TestFastAggregationsCont
Function · 0.36