antirez/redis — pull request #652 by jokea (2012-08-30 06:44:25+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).