Fred <eldman...@gmail.com> added the comment:
> For subtle reasons, that would make us worse off. Tuple of constants get > precomputed but lists of constants have to be rebuilt. So if a list is 20 times slower than a tuple, I can still do billions of computations in a second on a Raspberry Pi, so does it matter? Being able to pass a list into .startswith() makes it more user-friendly and makes Python be more productive for the developer. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35897> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com