reduce node lookups in event processing