Closed
Description
The CreateDirectory implementation was improved on Unix by #58799 and #61777.
The first PR eliminates exists syscalls by deducting that information from the directory creation syscall. The second PR reduces allocations when creating parent directories by allocating the parent paths on the stack instead of creating strings.
Similar improvements can be made to the Windows implementation.