From 0a30307a0d9c974c3ae1cd550ee6117bbe677d01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20M=C3=BCller?= Date: Thu, 23 Apr 2026 22:49:12 +0200 Subject: [PATCH] Update todos --- src/models/graph.rs | 2 +- src/traits.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/models/graph.rs b/src/models/graph.rs index 5e57c72..0639e61 100644 --- a/src/models/graph.rs +++ b/src/models/graph.rs @@ -31,7 +31,7 @@ impl<'a> Iterator for VertexNeighborIterator<'a> { type Item = Vertex; fn next(&mut self) -> Option { - // 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 index = self.graph.incidences.get_idx(incidence.0)?; let entry = &self.graph.incidences[index]; diff --git a/src/traits.rs b/src/traits.rs index 6894835..aa28583 100644 --- a/src/traits.rs +++ b/src/traits.rs @@ -1,5 +1,6 @@ // TODO: Add functions to reserve memory for vertices and edges. // TODO: Add iterator of edges. +// TODO: Split out GraphTopologyAddition trait. pub trait GraphTopology { type Vertex: Copy + Eq; type Edge;