majek/puka — pull request #13 by chris-fren (2012-03-15 09:44:08+00:00)
Title: Reduce pubacks complexity

This should work a little bit better.

It is based in the reasonable assumption that promises are inserted to x_async_inflight in ascending order. By using an ordereddict we can avoid
traversing the whole dictionary.

Please review this patch and tell me your opinion!

I hope it will help,
Chris