data-morph icon indicating copy to clipboard operation
data-morph copied to clipboard

Run multiple morphs in parallel

Open JohnAZoidberg opened this issue 1 year ago • 3 comments

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.

JohnAZoidberg avatar Sep 23 '24 03:09 JohnAZoidberg

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

github-actions[bot] avatar Sep 23 '24 03:09 github-actions[bot]

Sounds like a great idea!

stefmolin avatar Sep 23 '24 03:09 stefmolin

Easy to use a wrapper command like GNU parallel:

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

JohnAZoidberg avatar Sep 23 '24 12:09 JohnAZoidberg