eisental/RedstoneChips — Issue #28: Don't recalculate whether an output pin is direct on every signal change.
Author: eisental
Created: 2012-01-13 13:21:45+00:00
State: open
Labels: Internal, RedstoneChips

OutputPin.isDirect() is called whenever a circuit changes one of its output pin states. On each call it checks wether an output device is connected to the output block in all possible directions. It should be possible to keep track of block place/destroy and then check if the output pin is direct on every block change.