Skip to content

Conversation

@cspotcode
Copy link
Collaborator

We benchmarked shapely in #1535 and found that it's way slower when used in these two functions. We discussed on Discord that we can disable shapely now, and leave the code in-place for someone to investigate in the future.

This does not disable using shapely in other parts of arcade, such as pathfinding. Shapely may still be faster in those other areas, so we should not disable it.

@einarf
Copy link
Member

einarf commented Mar 5, 2023

Geometry module was moved, so might as well redo this one. It's a small thing anyway

@cspotcode
Copy link
Collaborator Author

Rebased onto the latest development, should be good to go now.

@einarf
Copy link
Member

einarf commented Mar 6, 2023

Might want to check if we're mentioning shapely anywhere in docs or other places in the codebase. We don't want to cause confusion.

@cspotcode
Copy link
Collaborator Author

Good call, searching the codebase shows it's not mentioned in docs, only in the changelog for 3.0.0.

@einarf einarf merged commit 0cebf73 into pythonarcade:development Mar 6, 2023
@cspotcode cspotcode deleted the disable-shapely branch August 5, 2023 17:43
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

Successfully merging this pull request may close these issues.

2 participants