Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

std.fs.Dir.makeOpenPath: optimize path already existing #13828

Closed
wants to merge 1 commit into from

Conversation

matu3ba
Copy link
Contributor

@matu3ba matu3ba commented Dec 8, 2022

Uses a single NtCreateFile syscall on windows.

Closes #12474. Thanks to @joedavis for the PR.

@matu3ba matu3ba force-pushed the optimize_makeOpenPath branch 3 times, most recently from 7b6da7c to 674f130 Compare December 8, 2022 22:41
Uses a single NtCreateFile syscall on windows.

Closes ziglang#12474. Thanks to @joedavis for the PR.
@Vexu
Copy link
Member

Vexu commented Jan 19, 2023

Stale draft with failing tests.

@Vexu Vexu closed this Jan 19, 2023
@matu3ba
Copy link
Contributor Author

matu3ba commented Jan 19, 2023

True, I'll have a look this weekend. Got busy with other stuff. Must wait another week or so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

optimize std.fs.Dir.makeOpenPath for the case that the path already exists
3 participants