Filipe Laíns <la...@riseup.net> added the comment: > No, it would not. We would also have to maintain order across set operations > such as intersection which which would become dramatically more expensive if > they had to maintain order. For example intersecting a million element set > with a ten element set always takes ten steps regardless of the order of > arguments, but to maintain order of the left hand operand could take a > hundred times more work.
Can these operations happen during bytecode generation? I am fairly new to these internals so my understanding is not great. During bytecode generation is can code that performs such operations run? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37596> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com