[all-commits] [llvm/llvm-project] 74cb28: [Support] Windows Filesystem fs::status Conditiona...
Haydn Trigg via All-commits
all-commits at lists.llvm.org
Mon Jan 15 05:08:22 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 74cb2879ba10dcad7c745ffc4e8ed3092a5c0f15
https://github.com/llvm/llvm-project/commit/74cb2879ba10dcad7c745ffc4e8ed3092a5c0f15
Author: Haydn Trigg <me at haydntrigg.com>
Date: 2024-01-15 (Mon, 15 Jan 2024)
Changed paths:
M llvm/lib/Support/Windows/Path.inc
Log Message:
-----------
[Support] Windows Filesystem fs::status Conditionally Call GetFileAttributes (#78118)
Rather than conditionally using the output from GetFileAttributesW move
the branch to avoid calling GetFileAttributesW entirely if not required.
This avoids hitting IO an extra time for a small performance
improvement.
More information about the All-commits
mailing list