[issue36229] Linear-time ops for some mutable collections.

2019-03-08 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue36229] Linear-time ops for some mutable collections.

2019-03-07 Thread Brandt Bucher
New submission from Brandt Bucher : Binary operations on collections are, in general, of quadratic complexity. However, we can sometimes operate in-place if we know that we hold the only reference to the object. This allows us to avoid making many intermediate copies when summing many lists (

[issue36229] Linear-time ops for some mutable collections.

2019-03-07 Thread Brandt Bucher
Change by Brandt Bucher : -- keywords: +patch pull_requests: +12216 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l