File reading/writing speed

时间:2015-06-26 10:12:15

标签: c# performance file

In NTFS, is the reading/writing speed of a file(with a known path) influenced by the number of files in the same folder?

es:

var data = System.IO.File.ReadAllBytes(aKnownPath);

1 个答案:

答案 0 :(得分:0)

定位文件会占用目录中每个文件的更多时间。

从打开的文件中读取是不变的。