Improved performance of timer creation