Skip to content

Bugfix: Refactor constructGraph() parameter to const shared ptr#1363

Merged
Robadob merged 1 commit intomasterfrom
bugfix-graph-vis
Mar 2, 2026
Merged

Bugfix: Refactor constructGraph() parameter to const shared ptr#1363
Robadob merged 1 commit intomasterfrom
bugfix-graph-vis

Conversation

@Robadob
Copy link
Copy Markdown
Member

@Robadob Robadob commented Mar 2, 2026

Accessing the mutable graph here flags the graph as requiring a rebuild each step, greatly increasing the expense of visualising large graphs.

Still chasing a different issue, this rebuild was changing what's stored in the src_dest map. It would appear if src_dest is flagged as updated after initial graph construction, src_dest map fails to be re-translated to index or similar.

Accessing the mutable graph here flags the graph as requiring a rebuild each step, greatly increasing the expense of visualising large graphs.
@Robadob Robadob self-assigned this Mar 2, 2026
@Robadob Robadob changed the title Refactor constructGraph() parameter to const shared ptr Bugfix: Refactor constructGraph() parameter to const shared ptr Mar 2, 2026
@Robadob
Copy link
Copy Markdown
Member Author

Robadob commented Mar 2, 2026

I've not fully diagnosed the cause, but I've attempted and failed to reproduce the bug so I'm fairly confident that it's not possible to trigger via host functions.

510875b

@Robadob Robadob merged commit f0a037c into master Mar 2, 2026
27 checks passed
@Robadob Robadob deleted the bugfix-graph-vis branch March 2, 2026 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants