mirror of https://github.com/KLayout/klayout.git
New branch for XOR performance improvement in deep mode
This commit is contained in:
parent
9817f12385
commit
078258bf09
|
|
@ -1239,7 +1239,8 @@ private:
|
||||||
void
|
void
|
||||||
collect_instance_interactions (const db::CellInstArray *inst1, const db::CellInstArray *inst2)
|
collect_instance_interactions (const db::CellInstArray *inst1, const db::CellInstArray *inst2)
|
||||||
{
|
{
|
||||||
// TODO: this algorithm is not in particular effective for identical arrays
|
// TODO: this algorithm is not in particular effective for identical arrays or for arrays
|
||||||
|
// vs. single instances
|
||||||
|
|
||||||
const db::Cell &cell1 = mp_subject_layout->cell (inst1->object ().cell_index ());
|
const db::Cell &cell1 = mp_subject_layout->cell (inst1->object ().cell_index ());
|
||||||
const db::Cell &cell2 = mp_intruder_layout->cell (inst2->object ().cell_index ());
|
const db::Cell &cell2 = mp_intruder_layout->cell (inst2->object ().cell_index ());
|
||||||
|
|
|
||||||
|
|
@ -1278,3 +1278,9 @@ TEST(FlatOperation)
|
||||||
run_test_bool22_flat (_this, "hlp17_flat.oas", TMAndNot, 100, 101);
|
run_test_bool22_flat (_this, "hlp17_flat.oas", TMAndNot, 100, 101);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TEST(Arrays)
|
||||||
|
{
|
||||||
|
// Large arrays, NOT
|
||||||
|
run_test_bool2 (_this, "hlp18.oas", TMNot, 100);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Reference in New Issue