MCPcopy Create free account
hub / github.com/argumentcomputer/ix / find

Method find

crates/kernel/src/equiv.rs:66–72  ·  view source on GitHub ↗

Find root with path halving (every other node → grandparent).

(&mut self, mut node: usize)

Source from the content-addressed store, hash-verified

64 rank: Vec<usize>,
65 /// Reverse map: node index → composite key.
66 node_to_key: Vec<EqKey>,
67}
68
69impl Default for EquivManager {
70 fn default() -> Self {
71 Self::new()
72 }
73}
74
75impl EquivManager {

Callers 3

unionMethod · 0.45
is_equivMethod · 0.45
find_root_keyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected