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

Performance optimise conversions #158

Open
rafaqz opened this issue Jan 28, 2023 · 0 comments
Open

Performance optimise conversions #158

rafaqz opened this issue Jan 28, 2023 · 0 comments

Comments

@rafaqz
Copy link
Member

rafaqz commented Jan 28, 2023

The pipeline for getting other types of geometries into LibGEOS seems to do heaps of allocations - first to nested vectors, then to geos objects. During those allocations there are a lot of slow checks.

To e.g. convert one linestring to a geos linestring we should do one single allocation and write the values without all the checks.

@rafaqz rafaqz changed the title Performance optomise conversions Performance optimise conversions Jan 28, 2023
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