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

Improved usage of DirectoryInfo in SystemFolder #57

Merged

Conversation

itsWindows11
Copy link
Contributor

Currently, SystemFolder is not properly making use of lazy-loading for DirectoryInfo (Info property) when we only have the path. In some use cases having the directory info pre-loaded can be unnecessary and slows down performance especially when enumerating large folders.

Currently, SystemFolder is not properly making use of lazy-loading for DirectoryInfo (`Info` property).
@Arlodotexe Arlodotexe merged commit aea4593 into Arlodotexe:main Jun 20, 2024
1 check passed
@itsWindows11 itsWindows11 deleted the imp/systemfolder-dirinfo-usage branch June 20, 2024 21:43
Arlodotexe added a commit that referenced this pull request Jun 20, 2024
Update release notes in `src/OwlCore.Storage.csproj` for version 0.11.2 to include fixes from PR #57.
- Adds a new entry under `<PackageReleaseNotes>` detailing the fix for the issue where `SystemFolder` was not properly utilizing lazy-loading for `DirectoryInfo` (`Info` property) when only the path is available. This complements the existing note about fixing synchronous operations in `File.Open`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Arlodotexe/OwlCore.Storage/pull/59?shareId=c896c4b6-1e78-463d-a433-260f2bfe7187).
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.

2 participants