Open
Description
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?