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

perf: reduce the number of requests to the server #35

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

cmhulbert
Copy link
Contributor

exists is cheaper if you can stop after an isFile request, so do that first
list call deduplicates listObjectsV2 call that was performed via
isDirectory

`exist` is cheaper if you can stop after an `isFile` request, so do that first
 `list` call deduplicates `listObjectsV2` call that was performed via
 `isDirectory`
@cmhulbert cmhulbert changed the title pref: reduce the number of requests to the server perf: reduce the number of requests to the server Jul 10, 2024
@bogovicj bogovicj merged commit 2948214 into master Jul 12, 2024
3 checks passed
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