JuliaGeo / LibGEOS.jl

Julia package for manipulation and analysis of planar geometric objects
MIT License
72 stars 24 forks source link

Performance optimise conversions #158

Open rafaqz opened 1 year ago

rafaqz commented 1 year ago

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.