[issue37101] Filterer.filter can be rewritten using built-ins just as efficient much more readable

Vinay Sajip report at bugs.python.org
Fri May 31 05:20:07 EDT 2019


Vinay Sajip <vinay_sajip at yahoo.co.uk> added the comment:

I grant that your version is more compact, but I don't find it more readable in general (perhaps it is for very experienced Python developers/developers who like a functional style, but I persoanlly don't think it improves readability).

Since the rationale proposed for making this change is "efficiency", I would like to see some real-world performance numbers to back this up. Can you please provide some quantitative data on the amount of speedup achievable in real-world scenarios?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37101>
_______________________________________


More information about the Python-bugs-list mailing list