klayout
klayout copied to clipboard
DRC: drc(width) much slower than width check
Test case from: https://github.com/KLayout/klayout/issues/1189
The following code:
deep
metal1 = polygons(34, 0)
metal1.drc(width <= 0.34.um)
is much slower than
...
metal1.width(0.34.um + 1.dbu)
(~60s vs. 9s)
There is a connection with this issue: https://github.com/KLayout/klayout/issues/1215
See comments below there and a test case.