Selaa lähdekoodia

Forward filtering optimization

master
Arun Prakash Jana 6 vuotta sitten
vanhempi
commit
ca3b27daf2
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 muutettua tiedostoa jossa 6 lisäystä ja 1 poistoa
  1. +6
    -1
      nnn.c

+ 6
- 1
nnn.c Näytä tiedosto

@@ -1158,7 +1158,12 @@ filterentries(char *path)
wln[len] = (wchar_t)*ch;
wln[++len] = '\0';
wcstombs(ln, wln, REGEX_MAX);
ndents = total;

/* Forward-filtering optimization:
* - new matches can only be a subset of current matches.
*/
/* ndents = total; */

if (matches(pln) == -1)
continue;



Loading…
Peruuta
Tallenna