Update todos

This commit is contained in:
2026-04-23 22:49:12 +02:00
parent 37a911dce0
commit 0a30307a0d
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ impl<'a> Iterator for VertexNeighborIterator<'a> {
type Item = Vertex; type Item = Vertex;
fn next(&mut self) -> Option<Self::Item> { fn next(&mut self) -> Option<Self::Item> {
// TODO: Benchmark storing full Index (one read, larger entries) vs slot + get_idx() (two reads, smaller entries). // TODO: Benchmark storing full Index (one read, larger entries) vs. slot + get_idx() (two reads, smaller entries).
let incidence = self.incidence?; let incidence = self.incidence?;
let index = self.graph.incidences.get_idx(incidence.0)?; let index = self.graph.incidences.get_idx(incidence.0)?;
let entry = &self.graph.incidences[index]; let entry = &self.graph.incidences[index];
+1
View File
@@ -1,5 +1,6 @@
// TODO: Add functions to reserve memory for vertices and edges. // TODO: Add functions to reserve memory for vertices and edges.
// TODO: Add iterator of edges. // TODO: Add iterator of edges.
// TODO: Split out GraphTopologyAddition trait.
pub trait GraphTopology { pub trait GraphTopology {
type Vertex: Copy + Eq; type Vertex: Copy + Eq;
type Edge; type Edge;