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

Support shared thread pools for zstd #310

Open
joshtriplett opened this issue Nov 10, 2024 · 1 comment
Open

Support shared thread pools for zstd #310

joshtriplett opened this issue Nov 10, 2024 · 1 comment

Comments

@joshtriplett
Copy link
Contributor

In gyscos/zstd-rs#283 , I implemented support for sharing a thread pool across compression contexts, to speed up multithreaded compression and avoid having multiple contexts compete for a fixed number of CPUs.

I'd love to have support for this in async-compression.

@NobodyXu
Copy link
Collaborator

NobodyXu commented Nov 11, 2024

I think we can expose it as another option for zstd encoder/decoder?

Just like CParameter

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

No branches or pull requests

2 participants