Skip to content

Use simpler graph for prioritization of mappings#80

Open
bgyori wants to merge 7 commits into
mainfrom
priority_graph
Open

Use simpler graph for prioritization of mappings#80
bgyori wants to merge 7 commits into
mainfrom
priority_graph

Conversation

@bgyori
Copy link
Copy Markdown
Contributor

@bgyori bgyori commented Jun 3, 2025

Workflows for mapping prioritization have a large memory footprint which is traceable to the construction of a temporary networkx DiGraph used in prioritization. This PR implements a simplified approach to graph construction which uses a minimal undirected graph containing only the necessary structural information for connected component finding, without propagating additional data into the graph. This appears to significantly decrease memory usage, though more detailed unit testing would be useful to make sure there aren't any assumptions changing with this implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants