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

ENH: release the GIL in get_coordinates #2048

Open
jorisvandenbossche opened this issue May 6, 2024 · 0 comments
Open

ENH: release the GIL in get_coordinates #2048

jorisvandenbossche opened this issue May 6, 2024 · 0 comments

Comments

@jorisvandenbossche
Copy link
Member

Currently the C implementation behind get_coordinates does not release the GIL:

GEOS_INIT;

while it seems we should also be able to use GEOS_INIT_THREADS instead? (I don't think anything inside the core loop depends on the GIL, as at that point the result array is already created, and we just iterate over input geometries)

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

No branches or pull requests

1 participant