Raymond Hettinger <rhettin...@users.sourceforge.net> added the comment:
Forest, for your use case I recommend copying the code to a new class and replacing the _keys list with a deque so that you can efficiently pop from the other end. _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5397> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com