@@ -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
@@ -852,7 +852,7 @@ void FlexGCWorker::Impl::initNet_pins_polygonCorners(gcNet* net)
852
852
853
853
void FlexGCWorker::Impl::initNet_pins_maxRectangles_getFixedMaxRectangles (
854
854
gcNet* net,
855
- std::vector<std::set <std::pair<Point, Point>>>& fixedMaxRectangles)
855
+ std::vector<boost::unordered_flat_set <std::pair<Point, Point>>>& fixedMaxRectangles)
856
856
{
857
857
int numLayers = getTech ()->getLayers ().size ();
858
858
std::vector<gtl::rectangle_data<frCoord>> rects;
@@ -878,7 +878,7 @@ void FlexGCWorker::Impl::initNet_pins_maxRectangles_helper(
878
878
gcPin* pin,
879
879
const gtl::rectangle_data<frCoord>& rect,
880
880
frLayerNum i,
881
- const std::vector<std::set <std::pair<Point, Point>>>& fixedMaxRectangles)
881
+ const std::vector<boost::unordered_flat_set <std::pair<Point, Point>>>& fixedMaxRectangles)
882
882
{
883
883
auto rectangle = std::make_unique<gcRect>();
884
884
rectangle->setRect (rect);
@@ -916,7 +916,7 @@ void FlexGCWorker::Impl::initNet_pins_maxRectangles_helper(
916
916
void FlexGCWorker::Impl::initNet_pins_maxRectangles (gcNet* net)
917
917
{
918
918
int numLayers = getTech ()->getLayers ().size ();
919
- std::vector<std::set <std::pair<Point, Point>>> fixedMaxRectangles (numLayers);
919
+ std::vector<boost::unordered_flat_set <std::pair<Point, Point>>> fixedMaxRectangles (numLayers);
920
920
// get all fixed max rectangles
921
921
initNet_pins_maxRectangles_getFixedMaxRectangles (net, fixedMaxRectangles);
922
922
0 commit comments