From f68f987371ba47aa446dce9de11f815fad82e931 Mon Sep 17 00:00:00 2001 From: Ivan Kosarev Date: Tue, 28 Sep 2021 22:07:25 +0100 Subject: [PATCH] [#37] Avoid recalculating same node more than once. --- tests/z80sim/z80sim.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/z80sim/z80sim.py b/tests/z80sim/z80sim.py index 88a8cac..cdae06c 100755 --- a/tests/z80sim/z80sim.py +++ b/tests/z80sim/z80sim.py @@ -175,10 +175,8 @@ def __add_recalc_node(self, nn): return if nn == self.__npwr: return - ''' if nn in self.__recalc_hash: return - ''' self.__recalc_list.append(nn) self.__recalc_hash.add(nn)