瀏覽代碼
Forward filtering optimization
master
Arun Prakash Jana
6 年之前
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: A75979F35C080412
共有
1 個檔案被更改,包括
6 行新增 和
1 行删除
-
nnn.c
|
|
@@ -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; |
|
|
|
|
|
|
|