Message337862
It could aimed at list1 + list2 + list3. Or foo() + list2, where foo() returns a new list. Or other examples when the left operand is a new object.
But it is not correct to say that it is a problem that currently these operations has quadratic complexity. They have the complexity O(N^2) where N is the number of additions. Unless you have expressions with many thousands of additions, this is not a trouble (actually you can get a crash in the attempt to compile such expression in CPython). |
|
Date |
User |
Action |
Args |
2019-03-13 16:50:49 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, tim.peters, arigo, rhettinger, pablogsal, brandtbucher |
2019-03-13 16:50:49 | serhiy.storchaka | set | messageid: <1552495849.54.0.0567255150853.issue36229@roundup.psfhosted.org> |
2019-03-13 16:50:49 | serhiy.storchaka | link | issue36229 messages |
2019-03-13 16:50:49 | serhiy.storchaka | create | |
|