You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#1246 proposes a multi-threaded variant of the unary union algorithm. Out of the box, this works on containers that impl IntoParallelIterator<Item = &'a Boppable>. MultiPolygon doesn't, because geo-types has very few dependencies, let alone Rayon. However, if we had optional Rayon support (and enabled it when it was enabled for geo) we could call it like this:
let poly_union = AllowMultithreading(&parcel_multipolygon).unary_union()
Instead of like this:
let poly_union = AllowMultithreading(&parcel_multipolygon.0).unary_union()
Which isn't very nice and forces us to use the exposed-implementation-detail .0 syntax.
The text was updated successfully, but these errors were encountered:
#1246 proposes a multi-threaded variant of the unary union algorithm. Out of the box, this works on containers that impl
IntoParallelIterator<Item = &'a Boppable>
.MultiPolygon
doesn't, becausegeo-types
has very few dependencies, let alone Rayon. However, if we had optional Rayon support (and enabled it when it was enabled forgeo
) we could call it like this:Instead of like this:
Which isn't very nice and forces us to use the exposed-implementation-detail
.0
syntax.The text was updated successfully, but these errors were encountered: