Closed michaelkirk closed 1 year ago
Also note that I pushed up a new commit to https://github.com/georust/geo/tree/mkirk/prepared-geom to allow you to build PreparedGeometry::from(geometry)
. Previously, it only supported PreparedGeometry::from(polygon)
.
I can't find a PR for the PreparedGeometry so I'll leave some here. I think the two things that confuse me are
Geometry
enum 'static
everywhere? Would it be possible to have PreparedGeometry<T>
for all Geometry types?
I'm unfamiliar with R, and wasn't able to figure out how to run the R benchmarks.
There's an unfortunate clone, but I'd be curious to know if is this is an improvement for you.