use tbb::scallable_allocator for Polygons and ExPolygon::holes
to better scale on multiple threads
This commit is contained in:
Vojtech Bubnik 2023-04-20 14:30:52 +02:00
parent 9cde96993e
commit b67ad6434d
12 changed files with 28 additions and 27 deletions

View file

@ -308,8 +308,8 @@ SCENARIO("Various Clipper operations - t/clipper.t", "[ClipperUtils]") {
}
}
template<e_ordering o = e_ordering::OFF, class P, class Tree>
double polytree_area(const Tree &tree, std::vector<P> *out)
template<e_ordering o = e_ordering::OFF, class P, class P_Alloc, class Tree>
double polytree_area(const Tree &tree, std::vector<P, P_Alloc> *out)
{
traverse_pt<o>(tree, out);