This website requires JavaScript.
Explore
Help
Register
Sign In
luke
/
magic
mirror of
https://github.com/RTimothyEdwards/magic.git
Watch
1
Star
0
Fork
You've already forked magic
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
f8390b78f8
magic
/
VERSION
2 lines
8 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Tackling a section of code with poor performance in extraction. The extSubtree() routine cuts a layout into squares and extracts each separately, checking for subcell interactions. In each square it parses all labels looking for unconnected ones. This section of code not only parses all labels M x N times, but it then marks interaction areas where there may be none, forcing additional unnecessary processing. This commit makes the first quick optimization, which is to change the return value of DRCFindInteractions() from boolean to integer, allowing it to return a value indicating that there are no subcells in the area. This prevents the loop through labels from happening in cases where there can never be interactions. More to come.
2022-02-20 23:36:49 +01:00
8.3.270