forked from SkepticMystic/graph-analysis
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Pre-Filter Nodes in Graph Initialization (Medium Value, Low Risk)
File/Line: MyGraph.ts:45-90
Description: In initGraph(), collect all candidate nodes first (filtering exclusions), then iterate once to add nodes and edges. Avoid repeated getCache() calls by batching metadata fetches.
Why: For vaults with many files, the nested loops perform redundant checks and cache lookups. This reduces initialization time (indexing speed) without changing behavior. Low risk; structural optimization.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request