Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@yui-knk
Copy link
Collaborator

@yui-knk yui-knk commented Mar 12, 2025

Lookahead-sensitive path candidate was managed by array of Path. It needed to create array every time when new candidate was found. This was one of bottlenecks of Lrama::Counterexamples#shortest_path. This commit adds parent field to Path so that list of paths can be iterated by parent.

Lookahead-sensitive path candidate was managed by array of `Path`.
It needed to create array every time when new candidate was found.
This was one of bottlenecks of `Lrama::Counterexamples#shortest_path`.
This commit adds `parent` field to `Path` so that list of paths
can be iterated by `parent`.
@yui-knk yui-knk merged commit 0a02098 into ruby:master Mar 12, 2025
22 checks passed
@yui-knk yui-knk deleted the optimize_path branch March 12, 2025 23:36
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.

1 participant