Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Intersection speedup and refactor #344
Intersection speedup and refactor #344
Changes from 7 commits
06b53a8
72daba8
6880f4f
d5c7ce3
1ffc102
574e0bb
bfae9a7
d2881a2
2ceecb1
b1a9d72
5a46057
49d5d75
0f01d7c
31fa23c
10f110f
a375fd1
03e911d
8959594
2960deb
4d54953
12fc2d6
993be81
261c4b7
7c43663
8025de5
8614495
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update the method docstring. Mention that it can (and will?) produce epsilon transitions. Instruct the user to call
.remove_epsilon()
afterwards on the epsilons to remove them.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wrote something, except not about remove_epsilon(), that's redundant.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extract
end()
into a local const variable and use instead of callingend()
repeatedly.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am doing this to avoid duscussions,
but to be honest, it is slightly pissing me off, I think it is a premature optimization that makes code clumsy and has no impact on speed