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

Run multiple morphs in parallel #218

Open
JohnAZoidberg opened this issue Sep 23, 2024 · 3 comments
Open

Run multiple morphs in parallel #218

JohnAZoidberg opened this issue Sep 23, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@JohnAZoidberg
Copy link
Contributor

JohnAZoidberg commented Sep 23, 2024

Is your feature request related to a problem? Please describe.
It'll be hard to parallelize a single morph, but when doing multiple at the same time, like with data-morph --start-shape panda --target-shape all we could run the all at the same time on multiple CPU cores.

Describe the solution you'd like
data-morph --start-shape panda --target-shape all should be roughly as fast as data-morph --start-shape panda --target-shape

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Copy link

It looks like this is your first issue here – welcome! Please familiarize yourself with the contributing guidelines, if you haven't already.

@stefmolin stefmolin added this to the 0.3.0 milestone Sep 23, 2024
@stefmolin stefmolin added the enhancement New feature or request label Sep 23, 2024
@stefmolin
Copy link
Owner

Sounds like a great idea!

@JohnAZoidberg
Copy link
Contributor Author

Easy to use a wrapper command like GNU parallel:

parallel data-morph \
     --start-shape music \
     --target-shape {} \
     ::: bullseye heart rectangle star slant_up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants