Add todo that was accidentally removed
This commit is contained in:
@@ -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];
|
||||||
|
|||||||
Reference in New Issue
Block a user