Skip to content

Conversation

@baszalmstra
Copy link
Collaborator

Perfomance optimization by removing the sync_all function call (its not needed), writing non-pretty files in conda-meta, using the default buffer size for the BufWriter to optimize for smaller files (most of the files are tiny).

AI Disclosure

None

@baszalmstra baszalmstra requested a review from wolfv November 5, 2025 22:28
@baszalmstra
Copy link
Collaborator Author

@wolfv Can you check if this is also faster on your machine?

@wolfv
Copy link
Contributor

wolfv commented Nov 20, 2025

Is a small buffer really better for small files? Becasue we have to allocate less? I was thinking that it would be equally fast but the drawback is more memory usage and slower writes to disk (different tradeoff in other use cases).

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