LibGEOS.jl
LibGEOS.jl copied to clipboard
Performance optimise conversions
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.