Skip to content

Improve CreateDirectory on Windows #61954

Closed
@tmds

Description

@tmds

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.

cc @adamsitnik @danmoseley

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions