Small performance enhancement of cell mapping

This commit is contained in:
Matthias Koefferlein 2023-06-29 23:09:16 +02:00
parent 86bd700aab
commit 07b8362368
1 changed files with 5 additions and 5 deletions

View File

@ -151,10 +151,6 @@ public:
}
std::set<db::cell_index_type> callers_b;
m_layout_b.cell (cell_b).collect_caller_cells (callers_b, selection_cone_b, -1);
callers_b.insert (cell_b);
m_repr_set = false;
std::map<db::cell_index_type, db::ICplxTrans>::const_iterator r = m_repr.find (cell_b);
@ -164,7 +160,11 @@ public:
return false;
}
}
std::set<db::cell_index_type> callers_b;
m_layout_b.cell (cell_b).collect_caller_cells (callers_b, selection_cone_b, -1);
callers_b.insert (cell_b);
trans_set_t trans (m_trans);
double mag = m_layout_b.dbu () / m_layout_a.dbu ();