micro optimization to avoid unecessary copy of the events container while doing for loop