about summary refs log tree commit diff
path: root/compiler/rustc_passes/src/check_const.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-10-21 11:10:24 +0000
committerbors <bors@rust-lang.org>2024-10-21 11:10:24 +0000
commit3ec4308f6cb4bba3140d736d9ebd53b234fa7df8 (patch)
treea0ae150812de2898ddc30903c4b0c0a1a857dfca /compiler/rustc_passes/src/check_const.rs
parent3e33bda0326586a6e1e34d0f5c060ca6d116e6a4 (diff)
parent2920ed0999ff462c13d9991e3a2a81b234836571 (diff)
downloadrust-3ec4308f6cb4bba3140d736d9ebd53b234fa7df8.tar.gz
rust-3ec4308f6cb4bba3140d736d9ebd53b234fa7df8.zip
Auto merge of #131972 - klensy:FindFirstFileExW, r=ChrisDenton
speedup directory traversal on windows

Optimizes walking over dirs on windows by replacing `FindFirstFileW` with `FindFirstFileExW` with `FindExInfoBasic` option, that allows skipping filling unused struct field which should be faster.

Also adds the same change for fallback call of `FindFirstFileExW` in metadata call.

Locally shows small speedup, but bench results from other users are welcome.
Diffstat (limited to 'compiler/rustc_passes/src/check_const.rs')
0 files changed, 0 insertions, 0 deletions