Stéphane Wirtel <steph...@wirtel.be> added the comment: @remi.lapeyre
In fact, I am not sure about the performance issue but in the code of _collectionsmodule.c#deque_repr we create a PySequence_List, it's a new list. So for me, but maybe I am wrong, we will iterate over the deque container for the creation of the new list. now, I think it's not a big issue (to confirm by @rhettinger) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36049> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com