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

Possible improvement #30

Open
FardaleM opened this issue Aug 30, 2024 · 0 comments
Open

Possible improvement #30

FardaleM opened this issue Aug 30, 2024 · 0 comments

Comments

@FardaleM
Copy link
Collaborator

Currently, with 'a -> 'b c1 * c2 * c3 * c4 * c5 * c6 * c7 * c8 -> 'b the number of AC solutions tried and the number of unifiers grow exponentially with the number of ci. This could be avoided with the following optimisation. For an arrow type, if there is a variable that appears only once on the left, then we don't need to try the possibility for the head to be an arrow type.

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

No branches or pull requests

1 participant