Skip to content

Conversation

@SiliconA-Z
Copy link
Contributor

@SiliconA-Z SiliconA-Z commented Jun 8, 2022

Replace SetFilePointerEx with SetFileInformationByHandle

@SiliconA-Z SiliconA-Z requested a review from a team as a code owner June 8, 2022 14:33
@StephanTLavavej StephanTLavavej added performance Must go faster filesystem C++17 filesystem labels Jun 8, 2022
@StephanTLavavej StephanTLavavej changed the title Improve filesystem handling Improve filesystem resizing Jun 8, 2022
@StephanTLavavej StephanTLavavej changed the title Improve filesystem resizing Improve filesystem file resizing Jun 8, 2022
@StephanTLavavej StephanTLavavej added the affects redist Results in changes to separately compiled bits label Jun 10, 2022
@SiliconA-Z SiliconA-Z force-pushed the FileSystem branch 5 times, most recently from 7c4d562 to f29dd4c Compare June 12, 2022 15:36
Replace SetFilePointerEx with SetFileInformationByHandle
Copy link
Contributor

@strega-nil-ms strega-nil-ms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit, but otherwise approve

@StephanTLavavej
Copy link
Member

As discussed in #2766, I've pushed changes to directly test these BOOLs. This is now Ready To Merge, but I'm marking it as Blocked until changes start flowing into VS 2022 17.4 Preview 2 in a couple of weeks.

@StephanTLavavej StephanTLavavej added the blocked Something is preventing work on this label Jun 22, 2022
@StephanTLavavej StephanTLavavej removed the blocked Something is preventing work on this label Jun 29, 2022
@StephanTLavavej StephanTLavavej self-assigned this Jun 30, 2022
@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit c176c15 into microsoft:main Jul 1, 2022
@StephanTLavavej
Copy link
Member

Thanks for reducing the number of OS calls in the filesystem implementation! 📁 🎉 😸

fsb4000 pushed a commit to fsb4000/STL that referenced this pull request Aug 13, 2022
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
@SiliconA-Z SiliconA-Z deleted the FileSystem branch September 26, 2022 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

affects redist Results in changes to separately compiled bits filesystem C++17 filesystem performance Must go faster

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants