Skip to content

Commit 6a899a5

Browse files
committed
fix: resolution data structure and alias architecture
1 parent 3a84d12 commit 6a899a5

5 files changed

Lines changed: 374 additions & 153 deletions

File tree

src/driver/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ pub struct DependencyGraph {
136136
/// This serves as the exact inverse of the `lookup` map.
137137
paths: Vec<CanonPath>,
138138

139+
// NOTE: Consider to optimising this with `Vec` instead of `HashMap`
139140
/// The Adjacency List: Defines the Directed acyclic Graph (DAG) of imports.
140141
///
141142
/// The Key (`usize`) is the ID of a "Parent" module (the file doing the importing).

0 commit comments

Comments
 (0)