Gyuho Lee 9c62d7b2d1 leaes: remove unnecessary O(log N) operation when nothing is expiry
Since heap is already sorted, we can just check first element
to see if anything is expiry, rather than popping and pushing
it back. If nothing is expiry, pop operation is unnecessary.

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-02 16:34:34 -07:00
..
2018-02-26 17:11:40 -08:00
2018-02-26 17:11:40 -08:00
2018-04-02 13:00:33 -07:00