MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / length

Method length

graphlite/src/plan/pattern_optimization/pattern_analysis.rs:217–219  ·  view source on GitHub ↗

ROADMAP v0.4.0 - Path metrics for selectivity estimation

(&self)

Source from the content-addressed store, hash-verified

215 /// Get the length of this path (number of traversal steps)
216 #[allow(dead_code)] // ROADMAP v0.4.0 - Path metrics for selectivity estimation
217 pub fn length(&self) -> usize {
218 self.steps.len()
219 }
220
221 /// Check if this is a simple two-step path
222 #[allow(dead_code)] // ROADMAP v0.4.0 - Simple path detection for index usage

Callers 1

estimated_costMethod · 0.45

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected