optimized lookup of schedule times