Skip to content

Use CreateFile for the Windows stat implementation - #2112

Merged
slozier merged 1 commit into
IronLanguages:mainfrom
slozier:stat
Oct 23, 2026
Merged

slozier merged 1 commit into
IronLanguages:mainfrom
slozier:stat

Conversation

@slozier

@slozier slozier commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

Use CreateFile for the Windows stat implementation, which is faster (~2x during local tests) and closer to the CPython implementation. Other than removing a few IronPython quirks (FileInfo normalizing paths) and small bug fixes (with executable extensions) it maintains the status quo.

@slozier
slozier merged commit c249b86 into IronLanguages:main Oct 23, 2026
35 checks passed
@slozier
slozier deleted the stat branch October 23, 2026 04:09
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.

1 participant