klayout icon indicating copy to clipboard operation
klayout copied to clipboard

DRC: drc(width) much slower than width check

Open klayoutmatthias opened this issue 2 years ago • 1 comments

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)

klayoutmatthias avatar Nov 27 '22 21:11 klayoutmatthias

There is a connection with this issue: https://github.com/KLayout/klayout/issues/1215

See comments below there and a test case.

klayoutmatthias avatar Dec 08 '22 21:12 klayoutmatthias