[geos-devel] CoordinateArraySequence == CoordinateSequence

Howard Butler howard at hobu.co
Wed Oct 5 07:20:57 PDT 2022



> On Oct 4, 2022, at 10:15 AM, Daniel Baston <dbaston at gmail.com> wrote:
> 
> - Allowing the use of an external buffer instead of the one managed by std::vector, so we could have a zero-copy method of bringing data into GEOS from an interleaved buffer

This. 

In PDAL's (albeit unusual) usage, we pass through millions of points to do things like point-in-poly. Changing/copying data to fit GEOS' data arrangement starts to get really expensive, and for PDAL, we ended up doing our own PiP implementation because of it.

GEOS has come a long way recently thanks to your efforts in expressing interfaces and behavior that are more like C++. If we could go just. a. little. further. to implement stuff like this, there would be some pleasant downstream wins by applications that can take advantage of it. 

Howard

PS. *cough* custom allocators? *cough*



More information about the geos-devel mailing list