0

我有一个非常大的目录树,我想让 pyInotify 观看。让 pyInotify 监视整个树更好还是让多个监视报告对特定文件的更改更好?谢谢

4

1 回答 1

0

If you're going to watch only a few files in a huge tree, it makes sense to watch individual files. On the other hand, if you're going to watch almost all files in the tree, watching the entire tree instead makes sense. To know the point of turn exactly, you must benchmark both to see which one performs better.

于 2010-03-26T21:18:02.227 回答