Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

请问我Everything一直挂着搜寻
是否是 定期 执行搜寻,还是 監聽事件 windows有任何档案新增才执行搜寻?
image

我很疑惑,它是用什么机制做到
我电脑档案数 2,603,802 但内存才用 0.6 MB
请且我新增、修改档案马上在搜寻视窗同步显示

image
image

假如是监听事件,这样等于为两百多万个档案建立事件,不是很恐怖?
假如是定期搜寻,每N秒搜寻两百多万个档案也同样想想很恐怖...


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
200 views
Welcome To Ask or Share your Answers For Others

1 Answer

是监听,而且其实没必要监听没一个文件,可以直接监听所有,比如根目录及其所有子目录


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share

548k questions

547k answers

4 comments

86.3k users

...