elasticsearch/kibana — pull request #744 by rashidkpc (2013-12-02 21:12:06+00:00)
Title: Remove idQueue from services

The idQueue isn't a necessary structure. While it is more efficient than a binary search for the smallest id it only works when we can be assured that it does not contain any ids from the ids array. To ensure this would require a sort and search. If we're going to sort and search anyway, we might as well do it to find the lowest ids, the search of which we can do in an optimized manner.