This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Commit a28a2cd
authored
Use NtCreateFile on Win32 (#27195)
NtCreateFile allows passing in a base handle which makes opening child directories much faster. This cuts anywhere from 3-10% of the time off of a GetFiles() call.
It is significantly faster as it avoids normalization and path parsing overhead.1 parent 03ecb64 commit a28a2cd
File tree
6 files changed
+626
-1
lines changed- src
- Common/src/Interop/Windows
- NtDll
- System.IO.FileSystem/src
- System/IO/Enumeration
6 files changed
+626
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
13 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
14 | 23 | | |
15 | 24 | | |
16 | 25 | | |
| |||
0 commit comments