• Yorick Peterse's avatar
    Speed up searching for text references a bit · afdc0285
    Yorick Peterse authored
    If a node is ignored there's no need for searching for a given pattern.
    In turn, when searching for the pattern there's no need to construct a
    MatchData object as we only care about presence (or lack thereof), not
    the resulting matches.
    
    In terms of performance this cuts down about 200 ms when loading
    issue #2164 locally, though this varies a bit depending on system load.
    afdc0285