Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemix/graph
/ push
Method
push
packages/graph/src/Steps.ts:4986–4989 ·
view source on GitHub ↗
(item: T)
Source
from the content-addressed store, hash-verified
4984
}
4985
4986
push(item: T): void {
4987
this.heap.push(item);
4988
this.bubbleUp(this.heap.length - 1);
4989
}
4990
4991
pop(): T | undefined {
4992
if
(this.heap.length === 0)
return
undefined;
Callers
15
dijkstra
Method · 0.95
generateDocument
Function · 0.45
performance.test.ts
File · 0.45
tokenize
Function · 0.45
buildPositionMap
Function · 0.45
createPostprocessor
Function · 0.45
registerListFunctions
Method · 0.45
registerPathFunctions
Method · 0.45
peg$f0
Function · 0.45
peg$f1
Function · 0.45
peg$f5
Function · 0.45
peg$f34
Function · 0.45
Calls
1
bubbleUp
Method · 0.95
Tested by
4
generateDocument
Function · 0.36
executeQuery
Function · 0.36
flattenOnce
Function · 0.36
next
Function · 0.36