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

Improve readdir speed #1116

Merged
merged 1 commit into from
Dec 4, 2023
Merged

Improve readdir speed #1116

merged 1 commit into from
Dec 4, 2023

Conversation

fjtrujy
Copy link
Contributor

@fjtrujy fjtrujy commented Dec 3, 2023

Pull Request checklist

Note: these are not necessarily requirements

  • I reformatted the code with clang-format
  • I checked to make sure my submission worked
  • I am the author of submission or have permission from the original author
  • Requires update of the PS2SDK or other dependencies
  • Others (please specify below)

Pull Request description

This PR basically makes the readdir function to work faster, as it doesn't require anymore to run stat function to identify if it is or not a folder/file.
stat function is an expensive call, skipping it we are going to have a much faster game/app listing.

Cheers.

@AKuHAK AKuHAK merged commit 5518be1 into master Dec 4, 2023
51 checks passed
@AKuHAK AKuHAK deleted the improve_readdir branch December 4, 2023 06:10
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