I'm not quite sure what causes this, so please forgive me if I cannot find the information I need to search. Here is an example:
Let's say we have a folder with 1,000,000 files. Running Directory.GetFiles () on this will take several minutes. However, running it again immediately, it only takes a few seconds. Why is this happening? Are objects cached somewhere? How can I run it with original time?
Lunyx source share