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

Add ability to enumerate over a specific mount in the search path #1

Open
wants to merge 6 commits into
base: stable-3.2
Choose a base branch
from

Conversation

WaywardHeart
Copy link

This turned out to be simple to add, fortunately. This will help with building the path cache in mkxp-z.

WaywardHeart added a commit to WaywardHeart/mkxp-z that referenced this pull request Mar 31, 2024
This commit requires mkxp-z/physfs#1, which allows us to enumerate files in specific mount points.

This allows us to guarantee that the highest priority file is chosen, even if the directory path has different cases in different archives.
WaywardHeart added a commit to WaywardHeart/mkxp-z that referenced this pull request Apr 11, 2024
This commit requires mkxp-z/physfs#1, which allows us to enumerate files in specific mount points.

This allows us to guarantee that the highest priority file is chosen, even if the directory path has different cases in different archives.
…'s entry count.

It's currently set to try to have 8-16 items per bucket.

ISO9660 and hog archives still use the default 64 buckets due to not being able to easily get their file counts.
Resolving the files for this can significantly increase enumeration time if a lot of files are being accessed for the first time
WaywardHeart added a commit to WaywardHeart/mkxp-z that referenced this pull request Apr 18, 2024
This commit requires mkxp-z/physfs#1, which allows us to enumerate files in specific mount points.

This allows us to guarantee that the highest priority file is chosen, even if the directory path has different cases in different archives.
JaidenAlemni pushed a commit to JaidenAlemni/mkxp-z-astravia that referenced this pull request Jun 21, 2024
This commit requires mkxp-z/physfs#1, which allows us to enumerate files in specific mount points.

This allows us to guarantee that the highest priority file is chosen, even if the directory path has different cases in different archives.
JaidenAlemni pushed a commit to JaidenAlemni/mkxp-z-astravia that referenced this pull request Jun 21, 2024
This commit requires mkxp-z/physfs#1, which allows us to enumerate files in specific mount points.

This allows us to guarantee that the highest priority file is chosen, even if the directory path has different cases in different archives.
JaidenAlemni pushed a commit to JaidenAlemni/mkxp-z-astravia that referenced this pull request Jun 25, 2024
This commit requires mkxp-z/physfs#1, which allows us to enumerate files in specific mount points.

This allows us to guarantee that the highest priority file is chosen, even if the directory path has different cases in different archives.
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