Reduced allocations for pairing heap

This commit is contained in:
Andrew Kane
2024-09-19 01:59:46 -07:00
parent a1b80faa67
commit d74d3065bc
2 changed files with 21 additions and 13 deletions

View File

@@ -162,8 +162,9 @@ struct HnswNeighborArray
typedef struct HnswPairingHeapNode
{
pairingheap_node ph_node;
HnswCandidate *inner;
pairingheap_node c_node;
pairingheap_node w_node;
} HnswPairingHeapNode;
/* HNSW index options */