I have added caching in OBJECT structure, rewritten main function to eliminate recursion and triggered connectivity cache refresh in connection subsystem.
The whole approach still seems like a hack to me, to support everything properly I need to hook up cache refresh for some specific objects (nets) and attribute names (netname) in both connection (s_conn.c)
and attribute (o_attrib.c) subsystems.
And the icing on the cake is to trigger redraw of affected nets when connectivity potentially changes...
I have added caching in OBJECT structure, rewritten main function to eliminate recursion and triggered connectivity cache refresh in connection subsystem.
The whole approach still seems like a hack to me, to support everything properly I need to hook up cache refresh for some specific objects (nets) and attribute names (netname) in both connection (s_conn.c)
and attribute (o_attrib.c) subsystems.
And the icing on the cake is to trigger redraw of affected nets when connectivity potentially changes...