Massive speedup: cache input block status, and do not issue input updates unless the pin value is different