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

concurrent mapping: chunk #29

Open
ebonnal opened this issue Oct 10, 2024 · 0 comments
Open

concurrent mapping: chunk #29

ebonnal opened this issue Oct 10, 2024 · 0 comments
Labels
feature New feature or request, modifies library API

Comments

@ebonnal
Copy link
Owner

ebonnal commented Oct 10, 2024

either

  • chunksize: int = 1 param similar to multiprocessing.Pool's
  • param-free adaptive logic adapting chunksize dynamically depending on the state of futures in queue

Currently to achieve an equivalent behavior, one have to .group(chunksize)pior to concurrent mapping and then .flatten().

@ebonnal ebonnal added the feature New feature or request, modifies library API label Oct 10, 2024
@ebonnal ebonnal changed the title concurrent mapping: add chunksize: int = 1 param concurrent mapping: chunk Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request, modifies library API
Projects
None yet
Development

No branches or pull requests

1 participant