-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Optimize -path foo -o -path bar expressions #109
Labels
Comments
Oof that is quite the expression tree. I'm not opposed to optimizing this kind of thing, but it's likely to be kinda hard. |
For the record, special-casing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bfs, like GNU find (see https://savannah.gnu.org/bugs/index.php?58197 ) does not optimize
-path foo -o -path bar
expressions. As far as I can tell, it just checks each -path operand linearly. As you can see in the linked bug, this causes slowdowns for some common find use-cases, including ones in GNU Emacs.Could you consider optimizing this?
The text was updated successfully, but these errors were encountered: