orders of magnitude speed increase in processPatterns for large excludes