Is it possible to enable multithread on unary_union and other operations?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.5k
- Forks
- 631
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 10
Description
This is not a bug report, but a question.
I see that shapely.ops.unary_union calls a union_all function defined in the set_operations module, which is not documented on the website.
The union_all function has a @multithreading_enabled decorator on it, but I don't see any method of applying the union operation in a multithreaded manner. Could someone enlighten me?
Thanks!
Operating system
Arch Linux
Shapely version and provenance
1.7.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading shapely.ops.unary_union and set_operations.union_all, then inspect the website documentation for union_all and the multithreading_enabled decorator. Done would require a documented, concrete explanation of the supported threading behavior and any resulting API or test requirements.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100