Initial release #1

Merged
warrence merged 102 commits from dev into main 2026-06-30 10:26:52 +02:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 0a30307a0d - Show all commits
+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;