antirez/redis — pull request #654 by jokea (2012-08-30 07:08:32+00:00)
Title: Make the timer event list in sorted order

Insert the timer event in sorted order, so it's O(1) to get
the nearest timer. Insert and delete a timer is O(N).