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

Shapely operations could be vectorised for performance #40

Closed
barneydobson opened this issue Feb 6, 2024 · 1 comment
Closed

Shapely operations could be vectorised for performance #40

barneydobson opened this issue Feb 6, 2024 · 1 comment
Labels
performance refactor Refactoring existing code without significantly changing functionality

Comments

@barneydobson
Copy link
Collaborator

From description:

About vectorized operations, I suggested using vectorized operations as much as you can by going through its documentation so you can check out what's been added. For example, instead of using shapley.LineString in a python for-loop, you can use shapely.linestrings and pass the iterator directly to this function to take advantage of the much faster vectorized for-loop in shapely.

@barneydobson barneydobson added refactor Refactoring existing code without significantly changing functionality performance labels Feb 6, 2024
@barneydobson barneydobson mentioned this issue Feb 6, 2024
13 tasks
@barneydobson
Copy link
Collaborator Author

Fixed in #142

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance refactor Refactoring existing code without significantly changing functionality
Projects
None yet
Development

No branches or pull requests

1 participant