Similar to #63 and #68, we could look at WHERE clauses and automatically subset the vertices that are valid structural matches and set these as hints. I think this would be faster than waiting for the postprocessing on the is_node_..._match function...