Add todo that was accidentally removed

This commit is contained in:
2026-05-13 12:16:10 +02:00
parent f862ac55ec
commit aaa1b34db3
+1
View File
@@ -116,6 +116,7 @@ impl Graph {
} }
fn step_incidence(&self, incidence: &mut Option<IncidenceSlot>) -> Option<(VertexSlot, Edge)> { fn step_incidence(&self, incidence: &mut Option<IncidenceSlot>) -> Option<(VertexSlot, Edge)> {
// TODO: Benchmark storing full Index (one read, larger entries) vs. slot + get_idx() (two reads, smaller entries).
let current = (*incidence)?; let current = (*incidence)?;
let e = self.incidences.get_idx(current.0).unwrap(); let e = self.incidences.get_idx(current.0).unwrap();
let entry = self.incidences[e]; let entry = self.incidences[e];