@@ -486,7 +486,7 @@ void FlexGCWorker::Impl::initNet_pins_polygon(gcNet* net)
486
486
487
487
void FlexGCWorker::Impl::initNet_pins_polygonEdges_getFixedPolygonEdges (
488
488
gcNet* net,
489
- std::vector<std::set <std::pair<Point, Point>>>& fixedPolygonEdges)
489
+ std::vector<boost::unordered_flat_set <std::pair<Point, Point>>>& fixedPolygonEdges)
490
490
{
491
491
int numLayers = getTech ()->getLayers ().size ();
492
492
std::vector<gtl::polygon_90_with_holes_data<frCoord>> polys;
@@ -552,7 +552,7 @@ void FlexGCWorker::Impl::initNet_pins_polygonEdges_helper_outer(
552
552
gcPin* pin,
553
553
gcPolygon* poly,
554
554
frLayerNum i,
555
- const std::vector<std::set <std::pair<Point, Point>>>& fixedPolygonEdges)
555
+ const std::vector<boost::unordered_flat_set <std::pair<Point, Point>>>& fixedPolygonEdges)
556
556
{
557
557
Point bp, ep, firstPt;
558
558
gtl::point_data<frCoord> bp1, ep1, firstPt1;
@@ -626,7 +626,7 @@ void FlexGCWorker::Impl::initNet_pins_polygonEdges_helper_inner(
626
626
gcPin* pin,
627
627
const gtl::polygon_90_data<frCoord>& hole_poly,
628
628
frLayerNum i,
629
- const std::vector<std::set <std::pair<Point, Point>>>& fixedPolygonEdges)
629
+ const std::vector<boost::unordered_flat_set <std::pair<Point, Point>>>& fixedPolygonEdges)
630
630
{
631
631
Point bp, ep, firstPt;
632
632
gtl::point_data<frCoord> bp1, ep1, firstPt1;
@@ -698,7 +698,7 @@ void FlexGCWorker::Impl::initNet_pins_polygonEdges_helper_inner(
698
698
void FlexGCWorker::Impl::initNet_pins_polygonEdges (gcNet* net)
699
699
{
700
700
int numLayers = getTech ()->getLayers ().size ();
701
- std::vector<std::set <std::pair<Point, Point>>> fixedPolygonEdges (numLayers);
701
+ std::vector<boost::unordered_flat_set <std::pair<Point, Point>>> fixedPolygonEdges (numLayers);
702
702
// get all fixed polygon edges
703
703
initNet_pins_polygonEdges_getFixedPolygonEdges (net, fixedPolygonEdges);
704
704
@@ -820,7 +820,7 @@ void FlexGCWorker::Impl::initNet_pins_polygonCorners(gcNet* net)
820
820
821
821
void FlexGCWorker::Impl::initNet_pins_maxRectangles_getFixedMaxRectangles (
822
822
gcNet* net,
823
- std::vector<std::set <std::pair<Point, Point>>>& fixedMaxRectangles)
823
+ std::vector<boost::unordered_flat_set <std::pair<Point, Point>>>& fixedMaxRectangles)
824
824
{
825
825
int numLayers = getTech ()->getLayers ().size ();
826
826
std::vector<gtl::rectangle_data<frCoord>> rects;
@@ -846,7 +846,7 @@ void FlexGCWorker::Impl::initNet_pins_maxRectangles_helper(
846
846
gcPin* pin,
847
847
const gtl::rectangle_data<frCoord>& rect,
848
848
frLayerNum i,
849
- const std::vector<std::set <std::pair<Point, Point>>>& fixedMaxRectangles)
849
+ const std::vector<boost::unordered_flat_set <std::pair<Point, Point>>>& fixedMaxRectangles)
850
850
{
851
851
auto rectangle = std::make_unique<gcRect>();
852
852
rectangle->setRect (rect);
@@ -884,7 +884,7 @@ void FlexGCWorker::Impl::initNet_pins_maxRectangles_helper(
884
884
void FlexGCWorker::Impl::initNet_pins_maxRectangles (gcNet* net)
885
885
{
886
886
int numLayers = getTech ()->getLayers ().size ();
887
- std::vector<std::set <std::pair<Point, Point>>> fixedMaxRectangles (numLayers);
887
+ std::vector<boost::unordered_flat_set <std::pair<Point, Point>>> fixedMaxRectangles (numLayers);
888
888
// get all fixed max rectangles
889
889
initNet_pins_maxRectangles_getFixedMaxRectangles (net, fixedMaxRectangles);
890
890
0 commit comments