Serhiy Storchaka <[email protected]> added the comment:
How often do you need to add three or more lists in comparison with other uses
of the "+" operator?
How larger is the benefit of this optimization?
How much it slows down other uses of the "+" operator?
Would be nice if you provide some numbers.
More efficient way of concatenating several lists in single expression is:
[*a, *b, *c, *d, ...]
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue38436>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com