Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix MLFSIterator, add tests for it #138

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

THinnerichs
Copy link
Member

@THinnerichs THinnerichs commented Feb 24, 2025

Also:

  • fixed enumeration order for DFS
  • I added tests for DFS because there were none previously.

MLFSIterator requires Herb-AI/HerbGrammar.jl#104 to work.

@THinnerichs THinnerichs requested a review from ReubenJ February 24, 2025 11:40
@THinnerichs THinnerichs self-assigned this Feb 24, 2025
@THinnerichs
Copy link
Member Author

image

Iteration is quite slow for now.

Copy link
Member

@ReubenJ ReubenJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch on the top-down iterator! Once we update the docstring, I think these changes are looking good 👍

@@ -42,7 +42,7 @@ Returns a sorted sublist of the `indices`, based on which rules are most promisi
By default, this is the identity function.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is no longer true, correct?

@ReubenJ
Copy link
Member

ReubenJ commented Feb 25, 2025

Iteration is quite slow for now.

Is this slower as a result of this PR?

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