浏览代码

Forward filtering optimization

master
Arun Prakash Jana 6 年前
父节点
当前提交
ca3b27daf2
找不到此签名对应的密钥 GPG 密钥 ID: A75979F35C080412
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. +6
    -1
      nnn.c

+ 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;



正在加载...
取消
保存