MCPcopy Create free account
hub / github.com/antirez/rax / raxCompressNode

Function raxCompressNode

rax.c:397–428  ·  view source on GitHub ↗

Turn the node 'n', that must be a node without any children, into a * compressed node representing a set of nodes linked one after the other * and having exactly one child each. The node can be a key or not: this * property and the associated value if any will be preserved. * * The function also returns a child node, since the last node of the * compressed chain cannot be part of the chain:

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

raxGenericInsertFunction · 0.85

Calls 3

raxNewNodeFunction · 0.85
raxGetDataFunction · 0.85
raxSetDataFunction · 0.85

Tested by

no test coverage detected